lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [2/3] lucene-solr:jira/solr-11990: SOLR-11990: Added description of the new withCollection parameter in the reference guide
Date Wed, 25 Jul 2018 15:39:23 GMT
SOLR-11990: Added description of the new withCollection parameter in the reference guide


Branch: refs/heads/jira/solr-11990
Commit: 70dbfd042c2164fcd76d406eeab1518e4d3147fb
Parents: 9d82608
Author: Shalin Shekhar Mangar <>
Authored: Wed Jul 25 19:19:07 2018 +0530
Committer: Shalin Shekhar Mangar <>
Committed: Wed Jul 25 19:19:07 2018 +0530

 solr/solr-ref-guide/src/collections-api.adoc | 7 +++++++
 1 file changed, 7 insertions(+)
diff --git a/solr/solr-ref-guide/src/collections-api.adoc b/solr/solr-ref-guide/src/collections-api.adoc
index 58922c5..32f3573 100644
--- a/solr/solr-ref-guide/src/collections-api.adoc
+++ b/solr/solr-ref-guide/src/collections-api.adoc
@@ -112,6 +112,12 @@ Details of the snitch provider. See the section <<rule-based-replica-placement.a
 If `true`, the request will complete only when all affected replicas become active. The default
is `false`, which means that the API will return the status of the single action, which may
be before the new replica is online and active.
+The name of the collection with which all replicas of this collection must be co-located.
The collection must already exist and must have a single shard named `shard1`.
+Solr will guarantee that a node having one or more replicas of the collection being created
will always host a replica of the `withCollection`. If enough replicas of the `withCollection`
do not already exist then new replicas of `NRT` type will be automatically created.
+This invariant will be maintained during any future collection operations such as adding
replicas, moving replicas or splitting shards either via API or by Solr's Autoscaling feature.
 === CREATE Response
 The response will include the status of the request and the new core names. If the status
is anything other than "success", an error message will explain why the request failed.
@@ -181,6 +187,7 @@ The attributes that can be modified are:
 * rule
 * snitch
 * policy
+* withCollection
 See the <<create,CREATE action>> section above for details on these attributes.

View raw message