Do you know how I can delete document in one curl command ?
I have a index called "myindex". I want to delete all document where the field prediction is like "yes"
With Elasticsearch 2.1, I use:
curl.exe -XDELETE http://XX.XX.XX.XX:9200/myindex/core2/_query?q=prediction:yes
With Elasticsearch 6.1.1, it does not work.