OpenSearch/x-pack/plugin/enrich
Martijn van Groningen d17ecb5936
Change the delete policy api to not pass wildcard expressions to the delete index api (#52448)
Backport from #52179

Don't rely on the delete index api to resolve all the enrich indices for a particular enrich policy using a '[policy_name]-*' wildcard expression. With this change, the delete policy api will resolve the indices to remove and pass that directly to the delete index api.

This resolves a bug, that if `action.destructive_requires_name` setting has been set to true then the delete policy api is unable to remove the enrich indices related to the policy being deleted.

Closes #51228 

Co-authored-by: bellengao <gbl_long@163.com>
2020-02-18 10:53:39 +01:00
..
qa Auto-format buildSrc (#51043) 2020-01-16 10:26:27 +00:00
src Change the delete policy api to not pass wildcard expressions to the delete index api (#52448) 2020-02-18 10:53:39 +01:00
build.gradle Add templating support to enrich processor (#49093) 2019-11-27 08:53:11 +01:00