Package org.apache.solr.cloud
Class ConfigSetCmds
java.lang.Object
org.apache.solr.cloud.ConfigSetCmds
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreateConfigSet(org.apache.solr.common.cloud.ZkNodeProps message, CoreContainer coreContainer) static voiddeleteConfigSet(org.apache.solr.common.cloud.ZkNodeProps message, CoreContainer coreContainer) static StringgetBaseConfigSetName(org.apache.solr.common.params.ConfigSetParams.ConfigSetAction action, String baseConfigSetName)
-
Field Details
-
BASE_CONFIGSET
Name of the ConfigSet to copy from for CREATE- See Also:
-
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
-
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
-