You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ho...@apache.org on 2022/06/23 15:27:07 UTC
[solr] branch branch_9x updated: SOLR-16256: Fix documented key name for AffinityPlacementConfig.collectionNodeType (#908)
This is an automated email from the ASF dual-hosted git repository.
houston pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_9x by this push:
new 3e482803950 SOLR-16256: Fix documented key name for AffinityPlacementConfig.collectionNodeType (#908)
3e482803950 is described below
commit 3e4828039503bb75e096a0ac67f9d484e62e8bba
Author: Ixai Lanzagorta Ochoa <ix...@gmail.com>
AuthorDate: Fri Jun 24 00:21:59 2022 +0900
SOLR-16256: Fix documented key name for AffinityPlacementConfig.collectionNodeType (#908)
(cherry picked from commit fd5513633efcf541eb265295c8736c91fbfdad99)
---
.../configuration-guide/pages/replica-placement-plugins.adoc | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/solr/solr-ref-guide/modules/configuration-guide/pages/replica-placement-plugins.adoc b/solr/solr-ref-guide/modules/configuration-guide/pages/replica-placement-plugins.adoc
index eca81eec19f..7dbdf828b81 100644
--- a/solr/solr-ref-guide/modules/configuration-guide/pages/replica-placement-plugins.adoc
+++ b/solr/solr-ref-guide/modules/configuration-guide/pages/replica-placement-plugins.adoc
@@ -52,7 +52,7 @@ curl -X POST -H 'Content-type: application/json' -d '{
"A_primary": "A_secondary",
"B_primary": "B_secondary"
},
- "nodeType": {
+ "collectionNodeType": {
"collection_A": "searchNode,indexNode",
"collection_B": "analyticsNode"
}
@@ -109,7 +109,7 @@ The autoscaling specification in the configuration linked above aimed to do the
It also supports additional per-collection constraints:
* `withCollection` enforces the placement of co-located collections' replicas on the same nodes, and prevents deletions of collections and replicas that would break this constraint.
-* `nodeType` limits the nodes eligible for placement to only those that match one or more of the specified node types.
+* `collectionNodeType` limits the nodes eligible for placement to only those that match one or more of the specified node types.
See below for more details on these constraints.
@@ -169,7 +169,7 @@ The plugin will assume that the secondary collection replicas are already in pla
+
See the section <<withCollection constraint>> below.
-`nodeType`::
+`collectionNodeType`::
+
[%autowidth,frame=none]
|===
@@ -252,7 +252,7 @@ curl -X POST -H 'Content-type: application/json' -d '{
"name": ".placement-plugin",
"class": "org.apache.solr.cluster.placement.plugins.AffinityPlacementFactory",
"config": {
- "nodeType": {
+ "collectionNodeType": {
"collection_A": "searchNode,indexNode",
"collection_B": "analyticsNode"
}