You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by da...@apache.org on 2018/08/10 09:13:57 UTC

[17/31] lucene-solr:jira/http2: Ref Guide: fix typo in MODIFYCOLLECTION example

Ref Guide: fix typo in MODIFYCOLLECTION example


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

Branch: refs/heads/jira/http2
Commit: 2674c53809a24527be007000e1753ec1121a9a20
Parents: 49e3cca
Author: Cassandra Targett <ct...@apache.org>
Authored: Wed Aug 8 08:52:18 2018 -0500
Committer: Cassandra Targett <ct...@apache.org>
Committed: Wed Aug 8 08:53:15 2018 -0500

----------------------------------------------------------------------
 .../src/solrcloud-autoscaling-auto-add-replicas.adoc           | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/2674c538/solr/solr-ref-guide/src/solrcloud-autoscaling-auto-add-replicas.adoc
----------------------------------------------------------------------
diff --git a/solr/solr-ref-guide/src/solrcloud-autoscaling-auto-add-replicas.adoc b/solr/solr-ref-guide/src/solrcloud-autoscaling-auto-add-replicas.adoc
index 87e50f5..622ce41 100644
--- a/solr/solr-ref-guide/src/solrcloud-autoscaling-auto-add-replicas.adoc
+++ b/solr/solr-ref-guide/src/solrcloud-autoscaling-auto-add-replicas.adoc
@@ -27,11 +27,11 @@ The boolean `autoAddReplicas` parameter can be passed to the CREATE command of t
 [source,text]
 http://localhost:8983/solr/admin/collections?action=CREATE&name=my_collection&numShards=1&replicationFactor=5&autoAddReplicas=true
 
-The MODIFYCOLLECTION command can be used to enable/disable this feature for any collection.
+The MODIFYCOLLECTION command can be used to enable or disable this feature for any collection.
 
 .Modify collection to disable autoAddReplicas
 [source,text]
-http://localhost:8983/solr/admin/collections?action=MODIFYCOLLECTION&name=my_collection&autoAddReplicas=false
+http://localhost:8983/solr/admin/collections?action=MODIFYCOLLECTION&collection=my_collection&autoAddReplicas=false
 
 == Implementation Using .autoAddReplicas Trigger
 
@@ -39,7 +39,7 @@ A Trigger named `.autoAddReplicas` is automatically created whenever any collect
 
 Only one trigger is sufficient to serve all collections having this feature enabled. The `.autoAddReplicas` trigger watches for nodes that are lost from the cluster and uses the default `TriggerActions` to create new replicas to replace the ones which were hosted by the lost node. If the old node comes back online, it unloads the moved replicas and the node is free to host other replicas as and when required.
 
-Since the trigger provides the autoAddReplicas feature for all collections, the `suspend-trigger` and `resume-trigger` Autoscaling API commands can be used to disable and enable this feature for all collections in one API call. 
+Since the trigger provides the autoAddReplicas feature for all collections, the `suspend-trigger` and `resume-trigger` Autoscaling API commands can be used to disable and enable this feature for all collections in one API call.
 
 .Suspending autoAddReplicas for all collections
 [source,json]