# Concurrency update

**URL:** <https://discuss.elastic.co/t/concurrency-update/233114>\
**Category:** Elasticsearch\
**Created:** [May 18, 2020, 1:29pm UTC](https://discuss.elastic.co/t/concurrency-update/233114 "2020-05-18T13:29:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bobflip](https://avatars.discourse-cdn.com/v4/letter/b/ccd318/32.png) [@bobflip](https://discuss.elastic.co/u/bobflip)\
**Post date:** [May 18, 2020, 1:29pm UTC](https://discuss.elastic.co/t/concurrency-update/233114/1 "2020-05-18T13:29:12Z")

</div>

Hi,  
Can you please advise if OPTIMISTIC CONCURRENCY CONTROL is needed in case, when two users update different fields in the same document concurrently?  
Rgds,  
Bob

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 18, 2020, 2:09pm UTC](https://discuss.elastic.co/t/concurrency-update/233114/2 "2020-05-18T14:09:02Z")

</div>

Elasticsearch index documents and does not update individual fields.

By default the latest request that has been sent will overwrite the previous values of a document.

It's not "by field" if you wish.

Makes sense?

---

<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:** [June 15, 2020, 2:09pm UTC](https://discuss.elastic.co/t/concurrency-update/233114/3 "2020-06-15T14:09:02Z")

</div>

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