diff --git a/solr/solr-ref-guide/src/solrcloud-autoscaling-policy-preferences.adoc b/solr/solr-ref-guide/src/solrcloud-autoscaling-policy-preferences.adoc index 57a14de03c2..e5a0b09205d 100644 --- a/solr/solr-ref-guide/src/solrcloud-autoscaling-policy-preferences.adoc +++ b/solr/solr-ref-guide/src/solrcloud-autoscaling-policy-preferences.adoc @@ -109,12 +109,13 @@ Global rules have three parts: * <> (`"cores": "..."`) * <> (optional) -Per-collection rules have four parts: +Per-collection rules have five parts: * <> * <> * <> (`"replica": "..."`) * <> (optional) +* `put` (optional) specifies how to place these replicas on the selected nodes. All the selected nodes are considered as one bucket by default. `"put" : "on-each"` treats each selected node as a bucket ==== Node Selector @@ -137,14 +138,12 @@ The property names can be one of `node` , `host` , `sysprop.*` , `freedisk` , ` when using the `nodeset` attribute, an optional attribute `put` can be used to specify how to distribute the replicas in that node set. -e.g: - +example: _put one replica on each node with a system property zone=east_ [source,json] -//put one replica on each node with a system property zone=east { "replica":1, "put" :"on-each", "nodeset":{"sysprop.zone":"east"}} +example: _put a total of 2 replicas on the set of nodes with property zone=east_ [source,json] -//put a total of 2 replicas on the set of nodes with property zone=east { "replica":2, "put" :"on-each" "nodeset":{"sysprop.zone":"east"}}