From eda842a36dbcab88079d40dea535e64fb42dbd0e Mon Sep 17 00:00:00 2001 From: ashwinkumar12345 Date: Mon, 27 Sep 2021 13:08:27 -0700 Subject: [PATCH] added info about the priority value --- _im-plugin/ism/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_im-plugin/ism/index.md b/_im-plugin/ism/index.md index 5e983e45..f27e2636 100644 --- a/_im-plugin/ism/index.md +++ b/_im-plugin/ism/index.md @@ -55,6 +55,8 @@ PUT _plugins/_ism/policies/policy_id } ``` +If you have more than one template that matches an index pattern, ISM uses the priority value to determine which template to apply. + For an example ISM template policy, see [Sample policy with ISM template]({{site.url}}{{site.baseurl}}/im-plugin/ism/policies#sample-policy-with-ism-template). Older versions of the plugin include the `policy_id` in an index template, so when an index is created that matches the index template pattern, the index will have the policy attached to it: