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
Make index required in DELETE index API #4481
Comments
+1 for either syntax. Doesn't the /_all syntax match the close api? I'm going from memory here. |
It does, but you can also use |
As one who has learned painfully from that typo, I +1 this idea. On Tue, Dec 17, 2013 at 8:59 AM, Clinton Gormley
|
This issue will be incorporated in #4549, which consists of disallowing all destructive operations by default. The idea is to keep the |
Update: the |
…rd expressions and `_all` is allowed to be used for destructive operat Also the delete index api requires always an index to be specified (either concrete index, alias or wildcard expression) Closes elastic#4549 elastic#4481
…rd expressions and `_all` is allowed to be used for destructive operat Also the delete index api requires always an index to be specified (either concrete index, alias or wildcard expression) Closes elastic#4549 elastic#4481
Currently this request:
... will delete all indices. We should change this to require an index name or wildcard, to prevent data loss from typos.
The delete-all syntax would be either of:
The text was updated successfully, but these errors were encountered: