You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by gu...@apache.org on 2020/06/13 20:25:28 UTC

[lucene-solr] branch master updated: SOLR-13169 Improve docs for MOVEREPLICA - better parity with ref guide for v2 api descriptions

This is an automated email from the ASF dual-hosted git repository.

gus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/master by this push:
     new 396490b  SOLR-13169 Improve docs for MOVEREPLICA - better parity with ref guide for v2 api descriptions
396490b is described below

commit 396490b65ca1af6ff1f1157a9896c9528c234eea
Author: Gus Heck <gu...@apache.org>
AuthorDate: Sat Jun 13 16:24:45 2020 -0400

    SOLR-13169 Improve docs for MOVEREPLICA - better parity with ref guide for v2 api descriptions
---
 solr/solrj/src/resources/apispec/collections.collection.Commands.json | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/solr/solrj/src/resources/apispec/collections.collection.Commands.json b/solr/solrj/src/resources/apispec/collections.collection.Commands.json
index b5280c0..b4545d3 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",