lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject [41/50] [abbrv] lucene-solr:jira/solr-11072: SOLR-10798: and SOLR-11205 documentation
Date Thu, 19 Oct 2017 08:31:29 GMT
SOLR-10798: and SOLR-11205 documentation


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

Branch: refs/heads/jira/solr-11072
Commit: 7e789b376c46936e6b7b813d4514b28f0a87bc2d
Parents: 3eeeb9f
Author: Noble Paul <noble@apache.org>
Authored: Wed Oct 18 14:43:23 2017 +1030
Committer: Noble Paul <noble@apache.org>
Committed: Wed Oct 18 14:43:23 2017 +1030

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


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/7e789b37/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 8035c17..b8e52ac 100644
--- a/solr/solr-ref-guide/src/solrcloud-autoscaling-policy-preferences.adoc
+++ b/solr/solr-ref-guide/src/solrcloud-autoscaling-policy-preferences.adoc
@@ -100,6 +100,9 @@ The name of the collection to which the policy rule should apply. If omitted,
th
 `shard`::
 The name of the shard to which the policy rule should apply. If omitted, the rule is applied
for all shards in the collection. It supports a special value `#EACH` which means that the
rule is applied for each shard in the collection.
 
+`type`::
+The type of the replica to which the policy rule should apply. If omitted, the rule is applied
for all replica types of this collection/shard. The allowed values are `NRT`, `TLOG` and `PULL`
+
 `replica`::
 The number of replicas that must exist to satisfy the rule. This must be a positive integer.
This is a required attribute.
 
@@ -135,6 +138,9 @@ The least significant to most significant segments of IP address. For
example, f
 `sysprop.<system_property_name>`::
 Any arbitrary system property set on the node on startup.
 
+`metrics:<full-path-to-the metric>` ::
+Any arbitrary metric. eg: `metrics:solr.node:CONTAINER.fs.totalSpace`. Refer to the `key`
parameter in <<metrics-reporting.adoc, Metrics API>>
+
 === Policy Operators
 
 Each attribute in the policy may specify one of the following operators along with the value.
@@ -188,6 +194,13 @@ Place all replicas in nodes with freedisk more than 500GB when possible.
Here we
 [source,json]
 {"replica": 0, "freedisk": "<500", "strict" : false}
 
+==== Try to Place all Replicas of type TLOG in SSD type file system
+
+[source,json]
+{ "replica": 0,  "sysprop.file_system" : "!ssd",  "type" : "TLOG" }
+
+Please note that to use the `sysprop.fs` attribute all your ssd nodes must be started with
a system property `-Dfile_system=ssd`.
+
 [[collection-specific-policy]]
 == Defining Collection-Specific Policies
 


Mime
View raw message