Remove duplicate _id from difference index

I have 2 indexes that might have same object id, but it will have one
that have _version higher.
In ES, Do it have some script of setting that help manage this kind of

because I want to keep only highest _version document.


You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
For more options, visit