Maybe I understood the versioning wrong.
In my index I have a doc (id 123) with a current version of for example 9.
What I thought is, that when I am trying to do an update with:
curl -XPOST localhost:9200/myindex/mytype/123/_update?version=4 -d '{
"doc": {
"name": "new-name"
}
}'
ES would raise an conflict error, cause I am trying to do an update on an
"old document (version 4)" and the document in the index is already at
version 9. Is this how versioning works?
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.