New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to remove shard allocation settings #906
Comments
You can't "unset" it, as there are no examples of that in the documentation, but you can use an arbitrary value:
Set the |
Hi, Thanks for your reply. The issue is that the one I want to 'unset' is the 'include' (not exclude). If I set an arbitrary value, it will not do the allocation correctly From the command line, I can do something like
and that works as expected. Cheers, |
That's worth considering. I'll look into it. |
@psaiz I did some testing. This is only possible in the 5.x branch. In the 2.x branch, it fails. The API does not allow for this in 2.x.
So I tried sending an empty string:
It still doesn't do any better than the arbitrary value approach I mentioned. So, this will make it into Curator 5, but not Curator 4, as it will not support the 2.x versions at all. |
I can't believe nobody raised this sooner. fixes #906
Hi,
I wanted to use curator to remove some of the shard allocation filtering that I had already enabled. So, basically, before running curator the index settings looked like:
and I want that after running curator they look like
If I define an action like
then, the settings will have both the include and the exclude. Then, if I define the action to remove it, something like
then, I get the error:
I've tried with value: "", or leaving it empty, and I got the same message. How can I remove it?
Thanks a lot,
pablo
The text was updated successfully, but these errors were encountered: