In 5.x is it possible to use DeleteByQueryRequestBuilder in bulk requests?


(John McGinty) #1

BulkRequestBuilder doesn't have an add method for DeleteByQueryRequestBuilder. is there something I'm missing or is this not supported?


(David Pilato) #2

Not supported and it doesn't make sense to support it IMO.
A bulk is a batch of single operations on single document.
DeleteByQuery is already something like a bulk. It scrolls over documents and creates a bulk request to remove them.


(system) #3

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