CoreJavaTutorials
Contribute Us | Ask Question |

Delete an Document from Index

Here we learn how to delete a document from an index.
We can simply delete an document from particular index by using elasticsense .

Below is the query to delete an document from elastic:
DELETE /customer/order/3

Explaination of above query:
Here we delete an document from customer index with mapping name is order and id is 3.