Class CreateShardAPI
- java.lang.Object
-
- org.apache.solr.handler.admin.api.CreateShardAPI
-
public class CreateShardAPI extends Object
V2 API for creating a new shard in a collection.This API (POST /v2/collections/collectionName/shards {'create': {...}}) is analogous to the v1 /admin/collections?action=CREATESHARD command.
- See Also:
CreateShardAPI
-
-
Constructor Summary
Constructors Constructor Description CreateShardAPI(CollectionsHandler collectionsHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createShard(PayloadObj<CreateShardPayload> obj)
-
-
-
Constructor Detail
-
CreateShardAPI
public CreateShardAPI(CollectionsHandler collectionsHandler)
-
-
Method Detail
-
createShard
public void createShard(PayloadObj<CreateShardPayload> obj) throws Exception
- Throws:
Exception
-
-