Interface SolrAdminClientInterface
-
- All Superinterfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.InitializingBean
- All Known Implementing Classes:
SOLRAdminClient
public interface SolrAdminClientInterface extends org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.InitializingBeanSolr Admin client interface Provides access to Actions and Commands in SOLR API- Since:
- 6.2
- Author:
- aborroy
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.Map<java.lang.String,java.lang.String>JSON_PARAMDefault parameters to request a JSON Response (default is XML)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JSONAPIResultexecuteAction(java.lang.String core, JSONAPIResultFactory.ACTION action, java.util.Map<java.lang.String,java.lang.String> parameters)Execute an ACTION from the SOLR CoreAdmin APIJSONAPIResultexecuteCommand(java.lang.String core, JSONAPIResultFactory.HANDLER handler, JSONAPIResultFactory.COMMAND command, java.util.Map<java.lang.String,java.lang.String> parameters)Execute a COMMAND from the SOLR API
-
-
-
Method Detail
-
executeAction
JSONAPIResult executeAction(java.lang.String core, JSONAPIResultFactory.ACTION action, java.util.Map<java.lang.String,java.lang.String> parameters)
Execute an ACTION from the SOLR CoreAdmin API- Parameters:
core- Name of the core to execute the command, when null the action is executed for all existing coresaction- SOLR CoreAdmin API Action nameparameters- Action parameters in pairs of key, value- Returns:
-
executeCommand
JSONAPIResult executeCommand(java.lang.String core, JSONAPIResultFactory.HANDLER handler, JSONAPIResultFactory.COMMAND command, java.util.Map<java.lang.String,java.lang.String> parameters)
Execute a COMMAND from the SOLR API- Parameters:
core- Name of the core to execute the commandhandler- Name of the handler for the SOLR REST APIcommand- Name of the command to be invokedparameters- Action parameters in pairs of key, value- Returns:
-
-