Class CreateConfigSetAPI
- java.lang.Object
-
- org.apache.solr.handler.configsets.ConfigSetAPIBase
-
- org.apache.solr.handler.configsets.CreateConfigSetAPI
-
public class CreateConfigSetAPI extends ConfigSetAPIBase
V2 API for creating a new configset as a copy of an existing one.This API (POST /v2/cluster/configs {"create": {...}}) is analogous to the v1 /admin/configs?action=CREATE command.
-
-
Field Summary
-
Fields inherited from class org.apache.solr.handler.configsets.ConfigSetAPIBase
configSetService, coreContainer, distributedCollectionConfigSetCommandRunner
-
-
Constructor Summary
Constructors Constructor Description CreateConfigSetAPI(CoreContainer coreContainer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create(PayloadObj<org.apache.solr.client.solrj.request.beans.CreateConfigPayload> obj)
-
Methods inherited from class org.apache.solr.handler.configsets.ConfigSetAPIBase
createBaseNode, ensureConfigSetUploadEnabled, ensureNonEmptyInputStream, isTrusted, runConfigSetCommand
-
-
-
-
Constructor Detail
-
CreateConfigSetAPI
public CreateConfigSetAPI(CoreContainer coreContainer)
-
-
Method Detail
-
create
public void create(PayloadObj<org.apache.solr.client.solrj.request.beans.CreateConfigPayload> obj) throws Exception
- Throws:
Exception
-
-