O
O
okkkman2020-03-12 15:18:54
elasticsearch
okkkman, 2020-03-12 15:18:54

How to remove duplicate data?

Hello.

How to find all duplicate records in ElasticSearch that have a hash in _id, not numbers?
And delete them?

I've been sitting for three hours, I can't find a suitable way

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
iva3682, 2020-05-02
@okkkman

use aggs by term + top_hits

R
Ranwise, 2020-03-12
@Ranwise

regular expressions try, type for md5^[a-f0-9]{32}$

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question