DataONEorg / metrics-service

An efficient database and REST API for delivering aggregated data set metrics to clients.
Apache License 2.0
2 stars 1 forks source link

Remove duplicate event entries from ES index #87

Open rushirajnenuji opened 3 years ago

rushirajnenuji commented 3 years ago

Reference: #86

Based on the {nodeId}:{entryId} values, delete all the repeated events from the ES index

Approach: each repeated event will still have a unique _id, so utilize that to delete that repeated event