Package org.apache.solr.cloud
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 theOverseerConfigSetMessageHandler
or fromDistributedCollectionConfigSetCommandRunner.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 Summary
Fields Modifier and Type Field Description static String
BASE_CONFIGSET
Name of the ConfigSet to copy from for CREATEstatic String
CONFIG_SET_PROPERTY_PREFIX
Prefix for properties that should be applied to the ConfigSet for CREATE
-
Constructor Summary
Constructors Constructor Description ConfigSetCmds()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
createConfigSet(org.apache.solr.common.cloud.ZkNodeProps message, CoreContainer coreContainer)
static void
deleteConfigSet(org.apache.solr.common.cloud.ZkNodeProps message, CoreContainer coreContainer)
static String
getBaseConfigSetName(org.apache.solr.common.params.ConfigSetParams.ConfigSetAction action, String baseConfigSetName)
-
-
-
Field Detail
-
BASE_CONFIGSET
public static final String BASE_CONFIGSET
Name of the ConfigSet to copy from for CREATE- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
-
Method Detail
-
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
-
-