We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I was playing around with delete-by-query, and I found it's possible to make a document with the id _query:
_query
% curl -XPOST "http://localhost:9200/test/test/_query" -d "{}" {"ok":true,"_index":"test","_type":"test","_id":"_query","_version":1} % curl -XGET "http://localhost:9200/test/test/_query" {"_index":"test","_type":"test","_id":"_query","_version":1,"exists":true, "_source" : {}}
Could this be made an error? The only way to get rid of this document is to use delete-by-query:
% curl -XDELETE "http://localhost:9200/test/test/_query" {"error":null} % curl -XDELETE "http://localhost:9200/test/test/_query" -d '{"ids":{"values":["_query"]}}' {"ok":true,"_indices":{"test":{"_shards":{"total":5,"successful":5,"failed":0}}}} % curl -XGET "http://localhost:9200/test/test/_query" {"_index":"test","_type":"test","_id":"_query","exists":false}
The text was updated successfully, but these errors were encountered:
Closing in favour of #6736
Sorry, something went wrong.
No branches or pull requests
I was playing around with delete-by-query, and I found it's possible to make a document with the id
_query
:Could this be made an error? The only way to get rid of this document is to use delete-by-query:
The text was updated successfully, but these errors were encountered: