# Versioning

**URL:** <https://discuss.elastic.co/t/versioning/4037>\
**Category:** Elasticsearch\
**Created:** [March 4, 2011, 7:57pm UTC](https://discuss.elastic.co/t/versioning/4037 "2011-03-04T19:57:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![frazer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/frazer/32/2752_2.png) [@frazer](https://discuss.elastic.co/u/frazer)\
**Post date:** [March 4, 2011, 7:57pm UTC](https://discuss.elastic.co/t/versioning/4037/1 "2011-03-04T19:57:45Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [March 5, 2011, 6:53am UTC](https://discuss.elastic.co/t/versioning/4037/2 "2011-03-05T06:53:41Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 4:10am UTC](https://discuss.elastic.co/t/versioning/4037/3 "2017-07-06T04:10:49Z")

</div>


