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 2018/07/16 07:58:13 UTC

lucene-solr:master: SOLR-12495,SOLR-11986 ref guide

Repository: lucene-solr
Updated Branches:
  refs/heads/master 11b22b441 -> 1e5003094


SOLR-12495,SOLR-11986 ref guide


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

Branch: refs/heads/master
Commit: 1e50030940c2b089542e180d1abc6af66ac0c947
Parents: 11b22b4
Author: Noble Paul <no...@apache.org>
Authored: Mon Jul 16 17:56:32 2018 +1000
Committer: Noble Paul <no...@apache.org>
Committed: Mon Jul 16 17:57:57 2018 +1000

----------------------------------------------------------------------
 .../src/solrcloud-autoscaling-policy-preferences.adoc         | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/1e500309/solr/solr-ref-guide/src/solrcloud-autoscaling-policy-preferences.adoc
----------------------------------------------------------------------
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 bdc10d0..c7f46c9 100644
--- a/solr/solr-ref-guide/src/solrcloud-autoscaling-policy-preferences.adoc
+++ b/solr/solr-ref-guide/src/solrcloud-autoscaling-policy-preferences.adoc
@@ -108,6 +108,7 @@ This is a required attribute. The number of replicas that must exist to satisfy
 * a number with a decimal value . e.g: "`1.66`" . This means both 1 and 2 are acceptable values but the system would prefer `2`
 * a number range. Such as `"3-5"` . This means `3,4,5` are acceptable values
 * a percentage value . e.g: `33%` . This is computed to a decimal value at runtime
+* `#EQUAL` : means divide it equally among all the nodes qualifying a certain property
 
 `strict`::
 An optional boolean value. The default is `true`. If true, the rule must be satisfied. If false, Solr tries to satisfy the rule on a best effort basis but if no node can satisfy the rule then any node may be chosen.
@@ -165,6 +166,7 @@ This supports values calculated at the time of execution.
 
 * `%` : A certain percentage of the value. This is supported by the following attributes
 ** `replica`
+** `freedisk`
 
 === Examples of Policy Rules
 
@@ -233,6 +235,11 @@ Place all replicas in nodes with freedisk more than 500GB. Here again, we have t
 [source,json]
 {"replica": 0, "freedisk": "<500"}
 
+Do not use more than `50%` of diskspace in any node
+[source,json]
+{"replica": 0, "freedisk": "<50%"}
+
+
 ==== Try to Place Replicas Based on Free Disk
 Place all replicas in nodes with freedisk more than 500GB when possible. Here we use the strict keyword to signal that this rule is to be honored on a best effort basis.