SMILA 1.0 API documentation

org.eclipse.smila.solr.server
Class SolrEmbeddedServers

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

public class SolrEmbeddedServers
extends SolrServers

SolrServers manager for embedded Solr servers.


Constructor Summary
SolrEmbeddedServers(CoreContainer container)
          create manager for given core container.
 
Method Summary
protected  SolrServer createServer(java.lang.String coreName)
          create correct SolrServer instance for the given core.
 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

SolrEmbeddedServers

public SolrEmbeddedServers(CoreContainer container)
create manager for given core container.

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
Description copied from class: SolrServers
create correct SolrServer instance for the given core.

Specified by:
createServer in class SolrServers
Throws:
SolrServerException

SMILA 1.0 API documentation