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/10/16 13:23:10 UTC
lucene-solr:master: SOLR-12740: adding a link
Repository: lucene-solr
Updated Branches:
refs/heads/master f1a30bfb0 -> 761f8aaf7
SOLR-12740: adding a link
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/761f8aaf
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/761f8aaf
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/761f8aaf
Branch: refs/heads/master
Commit: 761f8aaf796d3447722dc95918b3ed0eb828c0f7
Parents: f1a30bf
Author: Noble Paul <no...@apache.org>
Authored: Wed Oct 17 00:21:07 2018 +1100
Committer: Noble Paul <no...@apache.org>
Committed: Wed Oct 17 00:22:54 2018 +1100
----------------------------------------------------------------------
solr/solr-ref-guide/src/migrate-to-policy-rule.adoc | 6 +++---
solr/solr-ref-guide/src/solrcloud-autoscaling.adoc | 3 ++-
2 files changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/761f8aaf/solr/solr-ref-guide/src/migrate-to-policy-rule.adoc
----------------------------------------------------------------------
diff --git a/solr/solr-ref-guide/src/migrate-to-policy-rule.adoc b/solr/solr-ref-guide/src/migrate-to-policy-rule.adoc
index c91e272..6ad3c59 100644
--- a/solr/solr-ref-guide/src/migrate-to-policy-rule.adoc
+++ b/solr/solr-ref-guide/src/migrate-to-policy-rule.adoc
@@ -37,7 +37,7 @@ The equivalent new syntax is
The new policy rules have to be created separately using an API call <<solrcloud-autoscaling-api.adoc#Create and Modify Cluster Policies, See examples>>
-=== Rule Operators
+== Rule Operators
All the following operators can be directly used in the new policy syntax and they mean the same.
@@ -70,7 +70,7 @@ Tag values are provided by the framework and these tags mean the same the new sy
* *ip_1, ip_2, ip_3, ip_4*: These are ip fragments for each node. For example, in a host with ip `192.168.1.2`, `ip_1 = 2`, `ip_2 =1`, `ip_3 = 168` and` ip_4 = 192`
* *sysprop.\{PROPERTY_NAME}*: These are values available from system properties. `sysprop.key` means a value that is passed to the node as `-Dkey=keyValue` during the node startup. It is possible to use rules like `sysprop.key:expectedVal,shard:*`
-=== Snitches
+== Snitches
There is no equivalent for a snitch in the new policy framework
== Porting existing Replica placement rules
@@ -167,4 +167,4 @@ host:!192.45.67.3
== Defining Rules
-Rules are always defined in along with the collection in the legacy system. The new syntax allows you to specify rules globally as well as on a <<solrcloud-autoscaling-policy-preferences.adoc#Defining Collection-Specific Policies,per collection basis>>
+Rules are always defined in along with the collection in the legacy system. The new syntax allows you to specify rules globally as well as on a <<solrcloud-autoscaling-policy-preferences.adoc#collection-specific-policy, per collection basis>>
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/761f8aaf/solr/solr-ref-guide/src/solrcloud-autoscaling.adoc
----------------------------------------------------------------------
diff --git a/solr/solr-ref-guide/src/solrcloud-autoscaling.adoc b/solr/solr-ref-guide/src/solrcloud-autoscaling.adoc
index da6d31b..61b8b6e 100644
--- a/solr/solr-ref-guide/src/solrcloud-autoscaling.adoc
+++ b/solr/solr-ref-guide/src/solrcloud-autoscaling.adoc
@@ -1,5 +1,5 @@
= SolrCloud Autoscaling
-:page-children: solrcloud-autoscaling-overview, solrcloud-autoscaling-policy-preferences, solrcloud-autoscaling-triggers, solrcloud-autoscaling-trigger-actions, solrcloud-autoscaling-listeners, solrcloud-autoscaling-auto-add-replicas, solrcloud-autoscaling-fault-tolerance, solrcloud-autoscaling-api
+:page-children: solrcloud-autoscaling-overview, solrcloud-autoscaling-policy-preferences, solrcloud-autoscaling-triggers, solrcloud-autoscaling-trigger-actions, solrcloud-autoscaling-listeners, solrcloud-autoscaling-auto-add-replicas, solrcloud-autoscaling-fault-tolerance, solrcloud-autoscaling-api, migrate-to-policy-rule
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
@@ -32,3 +32,4 @@ The following sections describe the autoscaling features of SolrCloud:
* <<solrcloud-autoscaling-auto-add-replicas.adoc#solrcloud-autoscaling-auto-add-replicas,Automatically Adding Replicas>>
* <<solrcloud-autoscaling-fault-tolerance.adoc#solrcloud-autoscaling-fault-tolerance,Autoscaling Fault Tolerance>>
* <<solrcloud-autoscaling-api.adoc#solrcloud-autoscaling-api,Autoscaling API>>
+* <<migrate-to-policy-rule.adoc#migrate-to-policy-rule, Migrating from legacy rules>>