Duplicate documents in Elasticsearch

I want to remove duplicate document from elastic search. I got one query top aggregation query,but it's not delete query. That query just helped me to find out the duplicates. My index size is around 15 lac. Can any one help me to find out efficient solution without loss of data. I want to remove only duplicates .

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.