Apache Lucene open-source search software
SOLR-13169 Improve docs for MOVEREPLICA - correct existing parameter docs.
Gus Heck4b496b364f23
diff --git a/solr/solr-ref-guide/src/replica-management.adoc b/solr/solr-ref-guide/src/replica-management.adocindex cf508c3d9dc..2d66455e30b 100644--- a/solr/solr-ref-guide/src/replica-management.adoc+++ b/solr/solr-ref-guide/src/replica-management.adoc@@ -170,10 +170,10 @@ The API uses the Autoscaling framework to find nodes that can satisfy the disk rThe name of the collection. This parameter is required.`shard`::-The name of the shard that the replica belongs to. This parameter is required.+The name of the shard for which a replica should be moved. Either this parameter or replica is required. If replica is specified, this parameter is ignored.`replica`::-The name of the replica. This parameter is required.+The name of the replica to move. Either this parameter or shard is required.`sourceNode`::The name of the node that contains the replica. This parameter is required.diff --git a/solr/solrj/src/resources/apispec/collections.collection.Commands.json b/solr/solrj/src/resources/apispec/collections.collection.Commands.jsonindex a2694e1187f..1d9e6a42c98 100644--- a/solr/solrj/src/resources/apispec/collections.collection.Commands.json+++ b/solr/solrj/src/resources/apispec/collections.collection.Commands.json@@ -24,11 +24,11 @@"properties": {"replica": {"type": "string",- "description": "The name of the replica"+ "description": "The name of the replica to move. Either this parameter or shard is required."},"shard": {"type": "string",- "description": "The name of the shard"+ "description": "The name of the shard for which a replica should be moved. Either this parameter or replica is required. If replica is specified, this parameter is ignored."},"sourceNode": {"type": "string",