Class DeleteConfigSetAPI
- java.lang.Object
-
- org.apache.solr.handler.configsets.ConfigSetAPIBase
-
- org.apache.solr.handler.configsets.DeleteConfigSetAPI
-
public class DeleteConfigSetAPI extends ConfigSetAPIBase
V2 API for deleting an existing configsetThis API (DELETE /v2/cluster/configs/configsetName) is analogous to the v1 /admin/configs?action=DELETE command.
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONFIGSET_NAME_PLACEHOLDER
-
Fields inherited from class org.apache.solr.handler.configsets.ConfigSetAPIBase
configSetService, coreContainer, distributedCollectionConfigSetCommandRunner
-
-
Constructor Summary
Constructors Constructor Description DeleteConfigSetAPI(CoreContainer coreContainer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteConfigSet(SolrQueryRequest req, SolrQueryResponse rsp)
-
Methods inherited from class org.apache.solr.handler.configsets.ConfigSetAPIBase
createBaseNode, ensureConfigSetUploadEnabled, ensureNonEmptyInputStream, isTrusted, runConfigSetCommand
-
-
-
-
Field Detail
-
CONFIGSET_NAME_PLACEHOLDER
public static final String CONFIGSET_NAME_PLACEHOLDER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DeleteConfigSetAPI
public DeleteConfigSetAPI(CoreContainer coreContainer)
-
-
Method Detail
-
deleteConfigSet
public void deleteConfigSet(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
- Throws:
Exception
-
-