curl -XDELETE "localhost:9200/{index}/{type}/_query?q={k}:{v}"
use to delete documents from the index that matched the query. I tried this on 2.2 and it doesn't work. I tried to find it in the documentation and could not. Has it changed? How can I delete documents by a query?