Versioning


(frazer) #1

I have a lock version column in my db that I would love to sync with
the new es version functionality.

Just to confirm, it is my understanding that the _version # within ES
is read only and there is no way to set or change this value. Is this
correct?

Thanks

Frazer


(Shay Banon) #2

No, its more of an internal field. You can specify the version, but then the operation (index/delete) will work only if the version the doc is the same as the one provided (and then it will be incremented if it is).
On Friday, March 4, 2011 at 9:57 PM, frazer wrote:

I have a lock version column in my db that I would love to sync with
the new es version functionality.

Just to confirm, it is my understanding that the _version # within ES
is read only and there is no way to set or change this value. Is this
correct?

Thanks

Frazer


(system) #3