You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by no...@apache.org on 2016/09/15 16:47:51 UTC

lucene-solr:apiv2: SOLR-8029:added missing attribute

Repository: lucene-solr
Updated Branches:
  refs/heads/apiv2 4f53c9411 -> 2551c7997


SOLR-8029:added missing attribute


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

Branch: refs/heads/apiv2
Commit: 2551c7997947f6abc7912b659ad3ceb393c3b931
Parents: 4f53c94
Author: Noble Paul <no...@apache.org>
Authored: Thu Sep 15 22:17:41 2016 +0530
Committer: Noble Paul <no...@apache.org>
Committed: Thu Sep 15 22:17:41 2016 +0530

----------------------------------------------------------------------
 .../apispec/collections.collection.Commands.modify.json         | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/2551c799/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 40e6ef8..7c628c7 100644
--- a/solr/core/src/resources/apispec/collections.collection.Commands.modify.json
+++ b/solr/core/src/resources/apispec/collections.collection.Commands.modify.json
@@ -24,6 +24,11 @@
     "replicationFactor": {
       "type": "string",
       "description": "The number of replicas to be created for each shard"
+    },
+    "maxShardsPerNode": {
+      "type": "integer",
+      "description": "When creating collections, the shards and/or replicas are spread across all available (i.e., live) nodes, and two replicas of the same shard will never be on the same node. If a node is not live when the CREATE operation is called, it will not get any parts of the new collection, which could lead to too many replicas being created on a single live node. Defining maxShardsPerNode sets a limit on the number of replicas CREATE will spread to each node. If the entire collection can not be fit into the live nodes, no collection will be created at all."
     }
+
   }
 }
\ No newline at end of file