SMILA 1.0 API documentation

org.eclipse.smila.solr.server
Class SolrHttpServers

java.lang.Object
  extended by org.eclipse.smila.solr.server.SolrServers
      extended by org.eclipse.smila.solr.server.SolrHttpServers

public class SolrHttpServers
extends SolrServers

SolrServers manager for non-embedded Solr servers.


Constructor Summary
SolrHttpServers(SolrProperties properties)
          create instance from given properties.
 
Method Summary
protected  SolrServer createServer(java.lang.String coreName)
          Get a HttpSolrServer by core name.
 SolrServer getAdminServer()
          create a SolrServer for admin operations not related to a single core (e.g.
 
Methods inherited from class org.eclipse.smila.solr.server.SolrServers
getSolrServer, removeAllServers, removeSolrServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolrHttpServers

public SolrHttpServers(SolrProperties properties)
create instance from given properties.

Method Detail

getAdminServer

public SolrServer getAdminServer()
                          throws SolrServerException
Description copied from class: SolrServers
create a SolrServer for admin operations not related to a single core (e.g. getting core names). This server is not cached.

Specified by:
getAdminServer in class SolrServers
Throws:
SolrServerException

createServer

protected SolrServer createServer(java.lang.String coreName)
                           throws SolrServerException
Get a HttpSolrServer by core name. Take the server URL from properties or default one.

Specified by:
createServer in class SolrServers
Throws:
SolrServerException

SMILA 1.0 API documentation