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: 6141c3c6fe/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 <radu.gheorghe@sematext.com>
This commit is contained in:
Radu Gheorghe 2022-02-11 15:09:39 +02:00 committed by GitHub
parent 2555f1ba1c
commit 14907ec1b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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: