Class ConfigSetCmds

java.lang.Object
org.apache.solr.cloud.ConfigSetCmds

public class ConfigSetCmds extends Object
This class contains methods dealing with Config Sets and called for Config Set API execution, called from the OverseerConfigSetMessageHandler or from DistributedCollectionConfigSetCommandRunner.runConfigSetCommand(org.apache.solr.response.SolrQueryResponse, org.apache.solr.common.params.ConfigSetParams.ConfigSetAction, java.util.Map<java.lang.String, java.lang.Object>, long) depending on whether Collection and Config Set APIs are Overseer based or distributed.
  • Field Details

    • BASE_CONFIGSET

      public static final String BASE_CONFIGSET
      Name of the ConfigSet to copy from for CREATE
      See Also:
    • CONFIG_SET_PROPERTY_PREFIX

      public static final String CONFIG_SET_PROPERTY_PREFIX
      Prefix for properties that should be applied to the ConfigSet for CREATE
      See Also:
  • Constructor Details

    • ConfigSetCmds

      public ConfigSetCmds()
  • Method Details

    • getBaseConfigSetName

      public static String getBaseConfigSetName(org.apache.solr.common.params.ConfigSetParams.ConfigSetAction action, String baseConfigSetName)
    • createConfigSet

      public static void createConfigSet(org.apache.solr.common.cloud.ZkNodeProps message, CoreContainer coreContainer) throws IOException
      Throws:
      IOException
    • deleteConfigSet

      public static void deleteConfigSet(org.apache.solr.common.cloud.ZkNodeProps message, CoreContainer coreContainer) throws IOException
      Throws:
      IOException