public interface SolrServerService
| Modifier and Type | Method and Description |
|---|---|
SolrInstance |
getInstanceForName(java.lang.String instanceName)
Returns the configured Solr instance for a given name.
|
java.util.Map<java.lang.String,SolrInstance> |
getInstances()
Returns all configured Solr instances.
|
void |
startServer(SolrInstance solrInstance)
Starts the Solr server for a given instance.
|
void |
startServers()
Starts all Solr servers that are configured to be automatically started/stopped.
|
void |
stopServer(SolrInstance solrInstance)
Stops the Solr server for a given instance.
|
void |
stopServers()
Stops all Solr servers that are configured to be automatically started/stopped.
|
java.util.Map<java.lang.String,SolrInstance> getInstances()
SolrInstance getInstanceForName(java.lang.String instanceName) throws SolrInstanceNotFoundException
instanceName - - the instance nameSolrInstanceNotFoundException - if an instance is not found for the given namevoid startServer(SolrInstance solrInstance) throws SolrServerException
solrInstance - - the Solr instanceSolrServerException - if an error occurs while starting the server.void stopServer(SolrInstance solrInstance) throws SolrServerException
solrInstance - - the Solr instanceSolrServerException - if an error occurs while stopping the server.void startServers()
throws SolrServerException
SolrServerException - if an error occurs while starting the servers, depending on configuration the errors might be ignored
and the exception not thrownSolrInstance.isAutostart()void stopServers()
throws SolrServerException
SolrServerException - if an error occurs while stopping the servers, depending on configuration the errors might be ignored
and the exception not thrownSolrInstance.isAutostart()Copyright © 2018 SAP SE. All Rights Reserved.