Class SplitCoreAPI
- java.lang.Object
-
- org.apache.solr.handler.admin.api.SplitCoreAPI
-
public class SplitCoreAPI extends Object
V2 API for splitting a single core into multiple piecesThe new API (POST /v2/cores/coreName {'split': {...}}) is equivalent to the v1 /admin/cores?action=split command.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SplitCoreAPI.SplitCorePayload
-
Constructor Summary
Constructors Constructor Description SplitCoreAPI(CoreAdminHandler coreHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
splitCore(PayloadObj<SplitCoreAPI.SplitCorePayload> obj)
-
-
-
Constructor Detail
-
SplitCoreAPI
public SplitCoreAPI(CoreAdminHandler coreHandler)
-
-
Method Detail
-
splitCore
public void splitCore(PayloadObj<SplitCoreAPI.SplitCorePayload> obj) throws Exception
- Throws:
Exception
-
-