From f3a9bad35c582625d1ffdee3d717b63fbd86ed84 Mon Sep 17 00:00:00 2001 From: ict-one-nl Date: Wed, 25 Aug 2021 13:54:54 +0200 Subject: [PATCH] Use same attribute name as cluster page Simple fix, but because https://opensearch.org/docs/opensearch/cluster/ uses the node.attr.temp setting and this page uses the box_type setting a less experienced user like me easily makes a mistake (not comprehending the exact workings). Using the temp attribute here as well would have saved me a couple of hours and some grey hairs. --- _im-plugin/ism/policies.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_im-plugin/ism/policies.md b/_im-plugin/ism/policies.md index e6bfa983..fe723d9a 100644 --- a/_im-plugin/ism/policies.md +++ b/_im-plugin/ism/policies.md @@ -347,7 +347,7 @@ Parameter | Description | Type | Required | Default ### allocation -Allocate the index to a node with a specific attribute. +Allocate the index to a node with a specific attribute set like this {{site.url}}{{site.baseurl}}/opensearch/cluster/#advanced-step-7-set-up-a-hot-warm-architecture For example, setting `require` to `warm` moves your data only to "warm" nodes. The `allocation` operation has the following parameters: @@ -363,7 +363,7 @@ Parameter | Description | Type | Required "actions": [ { "allocation": { - "require": { "box_type": "warm" } + "require": { "temp": "warm" } } } ]