There is no such thing as a partial update on the doc. Even if you use the
update API, it still deletes the old document and indexes an entirely new
document. Version numbers are essential for the internal workings of
Elasticsearch.  You cannot disable them.

And as you found, external versions must also always be higher than the
previous version, otherwise the write operation will fail (as they should).

The only way to do this is to retry the update, which you can do
automatically with the update API


On 20 January 2014 18:53, joa <joafeldm...@gmail.com> wrote:

> Not when doing partial updates on the doc. I am always just updating the
> fields that have changed.
>
> --
> 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 elasticsearch+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/59019ced-6c8a-44d5-ac8c-9c1fa728349c%40googlegroups.com
> .
>
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAPt3XKQbkMtzKd55FaQ%2BfdgY%3DQ_VChhnOZp_DHKmgSN9%2Bq82fQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to