Delete by query on multiple values

I'm trying to understand how can I remove multiple documents by query,
where query is done on some id field (not the ES id field) in the document
and I want to delete number of documents.
For example I have 5 documents to delete, their internal ids : 3,5,6,7,8.
What is more efficient or best way to do that ?


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
To view this discussion on the web visit
For more options, visit