From 14907ec1b012ab5bf736f20a5f220d1d9f00cd0c Mon Sep 17 00:00:00 2001 From: Radu Gheorghe Date: Fri, 11 Feb 2022 15:09:39 +0200 Subject: [PATCH] Updated usage of ISM's rollover_skip Cluster Update Settings API complains that `index.plugins.index_state_management.rollover_skip` is an invalid setting. Index Update Settings API seems to work, though. And it's backed up by the definition here: https://github.com/opensearch-project/index-management/blob/6141c3c6fec9fe4c0c7bf733877660e78ed2b1b1/src/main/kotlin/org/opensearch/indexmanagement/indexstatemanagement/settings/ManagedIndexSettings.kt#L78 This PR updates the doc according to the above. Signed-off-by: Radu Gheorghe --- _im-plugin/ism/policies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_im-plugin/ism/policies.md b/_im-plugin/ism/policies.md index e57c9a72..44a8e492 100644 --- a/_im-plugin/ism/policies.md +++ b/_im-plugin/ism/policies.md @@ -521,7 +521,7 @@ You can use the same options for `ctx` variables as the [notification](#notifica The following sample template policy is for a rollover use case. -If you want to skip rollovers for an index, use the [update cluster settings API]({{site.url}}{{site.baseurl}}/opensearch/configuration/#update-cluster-settings-using-the-api) to set `index.plugins.index_state_management.rollover_skip` to true. +If you want to skip rollovers for an index, set `index.plugins.index_state_management.rollover_skip` to `true` in the settings of that index. 1. Create a policy with an `ism_template` field: