# How to update a document without increasing its version?

**URL:** https://discuss.elastic.co/t/how-to-update-a-document-without-increasing-its-version/147181
**Category:** Elasticsearch
**Created:** [September 4, 2018, 9:54am UTC](https://discuss.elastic.co/t/how-to-update-a-document-without-increasing-its-version/147181 "2018-09-04T09:54:42Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![gliu](https://avatars.discourse-cdn.com/v4/letter/g/e99b99/32.png) [@gliu](https://discuss.elastic.co/u/gliu)
#### Post date: [September 4, 2018, 9:54am UTC](https://discuss.elastic.co/t/how-to-update-a-document-without-increasing-its-version/147181/1 "2018-09-04T09:54:43Z")

</div>

Hey guys, I need to update a doc without increasing its \_version field, Is there a way I can do achieve this ?

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [September 4, 2018, 9:55am UTC](https://discuss.elastic.co/t/how-to-update-a-document-without-increasing-its-version/147181/2 "2018-09-04T09:55:27Z")

</div>

Nope.  
You might want to create another field:value pair for your own versioning.

> [@gliu](#):
>
> Hey guys

We're not all guys either 🙂

---

<div class="post-metadata">

### Author: ![gliu](https://avatars.discourse-cdn.com/v4/letter/g/e99b99/32.png) [@gliu](https://discuss.elastic.co/u/gliu)
#### Post date: [September 4, 2018, 10:02am UTC](https://discuss.elastic.co/t/how-to-update-a-document-without-increasing-its-version/147181/3 "2018-09-04T10:02:43Z")

</div>

Sorry for being impolite. Let me explain this.  
In some case I need to update a nested field with no version check, because those requests are strictly ordred, and I don't have version context in those requests. On the same time, I need to update the rest part of document with version control, this time I have version context. version is a timestamp and those requests are unordered, so I need a version control

---

<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: [October 2, 2018, 10:02am UTC](https://discuss.elastic.co/t/how-to-update-a-document-without-increasing-its-version/147181/4 "2018-10-02T10:02:58Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
