I am using the "external" version-type for all my documents (they come from
another primary database and I want to keep the versions between them
Am I right in assuming that this basically means that I can't use the
_update API (with a script or partial documents), because it always seems
to increase the version internally (making the document version go out of
sync with the version in the primary database)? And I don't see a way of
specifying a version or version type for update requests (at least in the
It's not critical (i can always do a reindex from the primary DB instead),
but I thought being able to use the update API could potentially save some
network roundtrips / performance. But thinking about it I see that getting
the semantics right in that case (should the update just fail if the
provided external version does not match? etc.) is probably difficult.
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 firstname.lastname@example.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/9c79d22f-66fa-40b6-966a-92dbd9b69f76%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.