# How to identify and remove duplicates in Elasticsearch index

**URL:** <https://discuss.elastic.co/t/how-to-identify-and-remove-duplicates-in-elasticsearch-index/307866>\
**Category:** Elasticsearch\
**Created:** [June 22, 2022, 10:40am UTC](https://discuss.elastic.co/t/how-to-identify-and-remove-duplicates-in-elasticsearch-index/307866 "2022-06-22T10:40:05Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [June 22, 2022, 1:35pm UTC](https://discuss.elastic.co/t/how-to-identify-and-remove-duplicates-in-elasticsearch-index/307866/4 "2022-06-22T13:35:56Z")

</div>

Maybe [this blog post](https://www.elastic.co/blog/how-to-find-and-remove-duplicate-documents-in-elasticsearch) might be useful? I am not sure there is a way to reliably create a query to use with delete by query to handle this, so the approach described in the blog post may be safer.

---

_[View the full topic](https://discuss.elastic.co/t/how-to-identify-and-remove-duplicates-in-elasticsearch-index/307866)._
