According the the documentation the delete by query plugin is built upon the scroll and bulk API's. The size of the hits returned by scroll is 10 (by default).
Can this size be increased?? The default setting is taking too long to delete the documents.
If not, is there a faster way to delete the documents?
I am using the following code:-