since ES index APIs support optimistic concurrency control using document versioning, it would be very useful to support this functionality when using stream2es to migrate indexes.
In particular, it would allow for idempotency when copying data incrementally (one could copy documents from an older index's data conditionally, only applying updates or deletes to the new index when no subsequent change had been already made to those documents there).
@jimabramson The problem here is that _version is an ephemeral value. It's doesn't keep incrementing forever, and the values wouldn't be meaningful cross-index.
since ES index APIs support optimistic concurrency control using document versioning, it would be very useful to support this functionality when using stream2es to migrate indexes.
In particular, it would allow for idempotency when copying data incrementally (one could copy documents from an older index's data conditionally, only applying updates or deletes to the new index when no subsequent change had been already made to those documents there).