@Deprecated
public interface SolrServerService
| Modifier and Type | Method and Description |
|---|---|
void |
createInstance(SolrInstance solrInstance)
Deprecated.
Creates a Solr instance.
|
void |
deleteInstance(SolrInstance solrInstance)
Deprecated.
Deletes a Solr instance.
|
void |
destroy()
Deprecated.
Performs the shutdown of this service.
|
SolrInstance |
getInstanceForName(java.lang.String instanceName)
Deprecated.
Returns the configured Solr instance for a given name.
|
java.util.Map<java.lang.String,SolrInstance> |
getInstances()
Deprecated.
Returns all configured Solr instances.
|
void |
init()
Deprecated.
Performs the initialization of this service.
|
void |
initializeInstances()
Deprecated.
Initializes the Solr server instances.
|
void |
startServer(SolrInstance solrInstance)
Deprecated.
Starts the Solr server for a given instance.
|
void |
startServers()
Deprecated.
Starts all Solr servers that are configured to be automatically started/stopped.
|
void |
stopServer(SolrInstance solrInstance)
Deprecated.
Stops the Solr server for a given instance.
|
void |
stopServers()
Deprecated.
Stops all Solr servers that are configured to be automatically started/stopped.
|
void |
uploadConfig(SolrInstance solrInstance)
Deprecated.
Uploads the Solr server configuration.
|
void init() throws SolrServerException
SolrServerException - if an error occurs during initializationvoid destroy()
throws SolrServerException
SolrServerException - if an error occurs during shutdownvoid initializeInstances()
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 createInstance(SolrInstance solrInstance) throws SolrServerException
solrInstance - - the Solr instanceSolrServerException - if an error occurs while creating the Solr instance.void deleteInstance(SolrInstance solrInstance) throws SolrServerException
solrInstance - - the Solr instanceSolrServerException - if an error occurs while deleting the Solr instance.void 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()void uploadConfig(SolrInstance solrInstance) throws SolrServerException
solrInstance - - the Solr instanceSolrServerException - - if an error occurs while uploading the configurationCopyright © 2018 SAP SE. All Rights Reserved.