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.InitializingBean
Solr Admin client interface Provides access to Actions and Commands in SOLR API
Since:
6.2
Author:
aborroy
  • Field Details

    • JSON_PARAM

      static final Map<String,String> JSON_PARAM
      Default parameters to request a JSON Response (default is XML)
  • Method Details

    • 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 cores
      action - SOLR CoreAdmin API Action name
      parameters - 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 command
      handler - Name of the handler for the SOLR REST API
      command - Name of the command to be invoked
      parameters - Action parameters in pairs of key, value
      Returns: