Reputation: 6548
I am using Elasticsearch 2.4. I want to perform large number of deletion operations together.Each deletion operation has a distinct criteria to delete. Bulk Delete Query Plugin provides deletion based on query. But, I want to generate multiple deletion queries
and used it with the Bulk Api so that there will be a single request. Is it possible ?
Upvotes: 1
Views: 247
Reputation: 1684
The answer is no.
Elasticsearch explicitly mentioned in Bulk API documentation: The possible actions are index, create, delete and update.
Please refer to here: ES 2.x bulk operation guide
1 step further to version 5.x which I am currently working on, UpdateByQuery
became built in function but still not included in Bulk operation actions.
Upvotes: 1