Class MoveReplicaAPI
- java.lang.Object
-
- org.apache.solr.handler.admin.api.MoveReplicaAPI
-
public class MoveReplicaAPI extends Object
V2 API for moving a collection replica to a different physical node.The new API (POST /v2/collections/collectionName {'move-replica': {...}}) is analogous to the v1 /admin/collections?action=MOVEREPLICA command.
- See Also:
MoveReplicaPayload
-
-
Constructor Summary
Constructors Constructor Description MoveReplicaAPI(CollectionsHandler collectionsHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
moveReplica(PayloadObj<org.apache.solr.client.solrj.request.beans.MoveReplicaPayload> obj)
-
-
-
Constructor Detail
-
MoveReplicaAPI
public MoveReplicaAPI(CollectionsHandler collectionsHandler)
-
-
Method Detail
-
moveReplica
public void moveReplica(PayloadObj<org.apache.solr.client.solrj.request.beans.MoveReplicaPayload> obj) throws Exception
- Throws:
Exception
-
-