# Only update a single field in existing document

**URL:** <https://discuss.elastic.co/t/only-update-a-single-field-in-existing-document/4010>\
**Category:** Elasticsearch\
**Created:** [March 2, 2011, 2:35am UTC](https://discuss.elastic.co/t/only-update-a-single-field-in-existing-document/4010 "2011-03-02T02:35:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bf24](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bf24/32/3262_2.png) [@bf24](https://discuss.elastic.co/u/bf24)\
**Post date:** [March 2, 2011, 2:35am UTC](https://discuss.elastic.co/t/only-update-a-single-field-in-existing-document/4010/1 "2011-03-02T02:35:14Z")

</div>

I did some searching and found a couple threads that were similar, but not exactly what I'm trying to do. I would like to update one field of an existing document and reindex this new value of the field while keeping all existing fields the same. Is this possible?

$ curl -XPUT '[http://localhost:9200/twitter/tweet/1](http://localhost:9200/twitter/tweet/1)' -d '{  
"user" : "kimchy",  
"post\_date" : "2009-11-15T14:12:12",  
"message" : "trying out Elastic Search",  
"recent\_retweet" : "hope it works out"  
}'

$ curl -XPUT '[http://localhost:9200/twitter/tweet/1](http://localhost:9200/twitter/tweet/1)' -d '{  
"recent\_retweet" : "awesome man, good luck"  
}'

---

<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:11am UTC](https://discuss.elastic.co/t/only-update-a-single-field-in-existing-document/4010/2 "2017-07-06T04:11:05Z")

</div>


