Delete by query with new Java Rest API

Hy there,

I am currently updating all my code written using Transport Java API to new Java Rest API.
For search, delete, aggregagtions, etc... i had no problem but i wish i wanted to delete by query also.
And i don't understand how i can do that (if i can ? tell me).
I am creating a DeleteByQueryRequest but no method from RestHighLevelClient seems to be able to use it.
Is there such a behavior or this possibility has been removed ?

Thanks in advance for any response.

See

Ok, thanks for the answer.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.