Class DeleteShardAPI
- java.lang.Object
-
- org.apache.solr.handler.admin.api.DeleteShardAPI
-
public class DeleteShardAPI extends Object
V2 API for deleting a particular shard from its collection.This API (DELETE /v2/collections/collectionName/shards/shardName) is analogous to the v1 /admin/collections?action=DELETESHARD command.
-
-
Constructor Summary
Constructors Constructor Description DeleteShardAPI(CollectionsHandler collectionsHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteShard(SolrQueryRequest req, SolrQueryResponse rsp)
-
-
-
Constructor Detail
-
DeleteShardAPI
public DeleteShardAPI(CollectionsHandler collectionsHandler)
-
-
Method Detail
-
deleteShard
public void deleteShard(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
- Throws:
Exception
-
-