Class CreateCoreAPI
- java.lang.Object
-
- org.apache.solr.handler.admin.api.CreateCoreAPI
-
public class CreateCoreAPI extends Object
V2 API for creating a new core on the receiving node.This API (POST /v2/cores {'create': {...}}) is analogous to the v1 /admin/cores?action=CREATE command.
- See Also:
CreateCorePayload
-
-
Field Summary
Fields Modifier and Type Field Description static String
V2_CREATE_CORE_CMD
-
Constructor Summary
Constructors Constructor Description CreateCoreAPI(CoreAdminHandler coreAdminHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createCore(PayloadObj<org.apache.solr.client.solrj.request.beans.CreateCorePayload> obj)
-
-
-
Field Detail
-
V2_CREATE_CORE_CMD
public static final String V2_CREATE_CORE_CMD
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CreateCoreAPI
public CreateCoreAPI(CoreAdminHandler coreAdminHandler)
-
-
Method Detail
-
createCore
public void createCore(PayloadObj<org.apache.solr.client.solrj.request.beans.CreateCorePayload> obj) throws Exception
- Throws:
Exception
-
-