Bulk operation using Delete by Query?

Hi,
I have a bunch of documents that need to be deleted using the
DeleteByQuery API. I would like these to be deleted using the bulk api so
that I dont have to call deleteByQuery multiple times. I see that the Bulk
API only takes in a DeleteRequest. Is there any way I can group together a
bunch of DeleteByQueryRequests using the DeleteByQueryRequestBuilder, and
then use the BulkRequestBuilder to execute them in bulk?

Thanks!
Robbie

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/20f22064-010d-4137-ab41-4ece9275b3db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

1 Like