# How do I update specific fields on the document

**URL:** <https://discuss.elastic.co/t/how-do-i-update-specific-fields-on-the-document/116769>\
**Category:** Elasticsearch\
**Created:** [January 23, 2018, 11:08pm UTC](https://discuss.elastic.co/t/how-do-i-update-specific-fields-on-the-document/116769 "2018-01-23T23:08:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexey\_Maykov](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@Alexey\_Maykov](https://discuss.elastic.co/u/Alexey_Maykov)\
**Post date:** [January 23, 2018, 11:08pm UTC](https://discuss.elastic.co/t/how-do-i-update-specific-fields-on-the-document/116769/1 "2018-01-23T23:08:37Z")

</div>

Hello,

if I need to update a specific field on a document, what do I do?

1. get a document, update a field, save a document - potential race condition
2. use script - perf issues? Can it do bulk operations
3. Have an external storage/service which would serialize all operations for particular itemids
4. anything else?

---

<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:** [February 20, 2018, 11:08pm UTC](https://discuss.elastic.co/t/how-do-i-update-specific-fields-on-the-document/116769/2 "2018-02-20T23:08:44Z")

</div>

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