You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by cp...@apache.org on 2017/05/12 13:43:42 UTC

[49/50] [abbrv] lucene-solr:jira/solr-8668: SOLR-10411: v2 Collection API modify command specification's replicationFactor property is incorrectly typed as string, should be integer

SOLR-10411: v2 Collection API modify command specification's replicationFactor property is incorrectly typed as string, should be integer


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/904df0eb
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/904df0eb
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/904df0eb

Branch: refs/heads/jira/solr-8668
Commit: 904df0eb619d1cebbe1e95c7e31e64e9d95f2d14
Parents: 5f51228
Author: Cao Manh Dat <da...@apache.org>
Authored: Fri May 12 13:38:56 2017 +0700
Committer: Cao Manh Dat <da...@apache.org>
Committed: Fri May 12 13:38:56 2017 +0700

----------------------------------------------------------------------
 solr/CHANGES.txt                                                  | 3 +++
 .../resources/apispec/collections.collection.Commands.modify.json | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/904df0eb/solr/CHANGES.txt
----------------------------------------------------------------------
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 19b3a25..5f6f482 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -102,6 +102,9 @@ Bug Fixes
 
 * SOLR-10408: v2 API introspect should return useful message for non-existent command (Cao Manh Dat)
 
+* SOLR-10411: v2 Collection API "modify" command specification's replicationFactor property is incorrectly typed as string, 
+  should be integer (Cao Manh Dat)
+
 Optimizations
 ----------------------
 

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/904df0eb/solr/core/src/resources/apispec/collections.collection.Commands.modify.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/collections.collection.Commands.modify.json b/solr/core/src/resources/apispec/collections.collection.Commands.modify.json
index 0255329..d7d0f10 100644
--- a/solr/core/src/resources/apispec/collections.collection.Commands.modify.json
+++ b/solr/core/src/resources/apispec/collections.collection.Commands.modify.json
@@ -24,7 +24,7 @@
       "description": "When set to true, enables auto addition of replicas on shared file systems (such as HDFS). See https://cwiki.apache.org/confluence/display/solr/Running+Solr+on+HDFS for more details on settings and overrides."
     },
     "replicationFactor": {
-      "type": "string",
+      "type": "integer",
       "description": "The number of replicas to be created for each shard. Replicas are physical copies of each shard, acting as failover for the shard. Note that changing this value on an existing collection does not automatically add more replicas to the collection. However, it will allow add-replica commands to succeed."
     },
     "maxShardsPerNode": {