Delete By Query using Java High Level Rest Client

Is there a way to achieve delete by query using the java high level rest client ? previously i was using transport client to achieve the same thing, turns out that there is no straight forward way of doing this with the high level rest client.

I think this is something you could ask as a feature request on GitHub.
Not sure how hard it will be to implement though.

For now you need to write a query may be using query builders, transform as JSon string and pass the string to the low level client.

I run into the same use case and found your topic here. I've created an issue on github so you can track the progress (hope it will be implemented)