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 Map<String,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(String core, JSONAPIResultFactory.ACTION action, Map<String,String> parameters)Execute an ACTION from the SOLR CoreAdmin APIJSONAPIResultexecuteCommand(String core, JSONAPIResultFactory.HANDLER handler, JSONAPIResultFactory.COMMAND command, Map<String,String> parameters)Execute a COMMAND from the SOLR API
-
-
-
Method Detail
-
executeAction
JSONAPIResult executeAction(String core, JSONAPIResultFactory.ACTION action, Map<String,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(String core, JSONAPIResultFactory.HANDLER handler, JSONAPIResultFactory.COMMAND command, Map<String,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:
-
-