Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-13169 Improve docs for MOVEREPLICA - better parity with ref guide for v2 api descriptions

Gus Heck396490b65ca1
diff --git a/solr/solrj/src/resources/apispec/collections.collection.Commands.json b/solr/solrj/src/resources/apispec/collections.collection.Commands.json
index b5280c08f68..b4545d33f25 100644
--- a/solr/solrj/src/resources/apispec/collections.collection.Commands.json
+++ b/solr/solrj/src/resources/apispec/collections.collection.Commands.json
@@ -24,7 +24,7 @@
"properties": {
"replica": {
"type": "string",
- "description": "The name of the replica to move. Either this parameter or shard is required."
+ "description": "The name of the replica to move. Either this parameter or shard + sourceNode is required, this parameter takes precedence."
},
"shard": {
"type": "string",
@@ -32,7 +32,7 @@
},
"sourceNode": {
"type": "string",
- "description": "The name of the node that contains the replica."
+ "description": "The name of the node that contains the replica. Either this parameter or replica is required. If replica is specified, this parameter is ignored."
},
"targetNode": {
"type": "string",