public class SolrEmbeddedServers extends SolrServers
SolrServers manager for embedded Solr servers.| Constructor and Description |
|---|
SolrEmbeddedServers(CoreContainer container)
create manager for given core container.
|
| Modifier and Type | Method and Description |
|---|---|
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. getting core names).
|
getSolrServer, removeAllServers, removeSolrServerpublic SolrEmbeddedServers(CoreContainer container)
public SolrServer getAdminServer()
throws SolrServerException
SolrServersgetAdminServer in class SolrServersSolrServerExceptionprotected SolrServer createServer(java.lang.String coreName)
throws SolrServerException
SolrServersSolrServer instance for the given core.createServer in class SolrServersSolrServerException