Skip to content

Apache Lucene open-source search software

Ref Guide: fix typo in MODIFYCOLLECTION example

Cassandra Targett2674c53809a2
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 87e50f588e9..622ce41e4e1 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]