Press "Enter" to skip to content

Multiple Document Deletion with Elasticsearch

The Hadoop in Real World team want to delete multiple documents in Elasticsearch matching some condition:

Deleting a single document is pretty straightforward in Elasticsearch. We can simply issue a DELETE on the document id and the document will be deleted from the index.

Click through for that example, as well as the multi-document delete (and a check to ensure that it worked).