Class SplitShardAPI
- java.lang.Object
-
- org.apache.solr.handler.admin.api.SplitShardAPI
-
public class SplitShardAPI extends Object
V2 API for splitting an existing shard up into multiple pieces.This API (POST /v2/collections/collectionName/shards {'split': {...}}) is analogous to the v1 /admin/collections?action=SPLITSHARD command.
- See Also:
SplitShardPayload
-
-
Constructor Summary
Constructors Constructor Description SplitShardAPI(CollectionsHandler collectionsHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
splitShard(PayloadObj<org.apache.solr.client.solrj.request.beans.SplitShardPayload> obj)
-
-
-
Constructor Detail
-
SplitShardAPI
public SplitShardAPI(CollectionsHandler collectionsHandler)
-
-
Method Detail
-
splitShard
public void splitShard(PayloadObj<org.apache.solr.client.solrj.request.beans.SplitShardPayload> obj) throws Exception
- Throws:
Exception
-
-