# Updates for ElasticSearch Guide Update API Page

**URL:** <https://discuss.elastic.co/t/updates-for-elasticsearch-guide-update-api-page/9781>\
**Category:** Elasticsearch\
**Created:** [November 21, 2012, 4:50pm UTC](https://discuss.elastic.co/t/updates-for-elasticsearch-guide-update-api-page/9781 "2012-11-21T16:50:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert\_Kennington](https://avatars.discourse-cdn.com/v4/letter/r/85f322/32.png) [@Robert\_Kennington](https://discuss.elastic.co/u/Robert_Kennington)\
**Post date:** [November 21, 2012, 4:50pm UTC](https://discuss.elastic.co/t/updates-for-elasticsearch-guide-update-api-page/9781/1 "2012-11-21T16:50:52Z")

</div>

Here are two editorial comments in regard to the ES Guide Update API page[http://www.elasticsearch.org/guide/reference/api/update.html](http://www.elasticsearch.org/guide/reference/api/update.html):

1. Spelling correction for "The update API also support passing a  
partial document (since 0.20), which will me merged into the …". Change  
'me' to 'be'.

2. Grammar correction for "Last, it also support upsert (since 0.20),  
when if the document does not already exists. ...". Delete 'if' or 'when'.  
Or, rephrase such as " ...  
to insert the upsert element as a new document if the referenced  
document id does not exist ..."

3. In regard to the last update example for upserts: "upsert" : { "count"  
: 1 }. Isn't 'count' supposed to be 'counter' to insert a new document with  
the counter field if the document does not exist?

--

---

<div class="post-metadata">

**Author:** ![Robert\_Kennington](https://avatars.discourse-cdn.com/v4/letter/r/85f322/32.png) [@Robert\_Kennington](https://discuss.elastic.co/u/Robert_Kennington)\
**Post date:** [November 21, 2012, 4:51pm UTC](https://discuss.elastic.co/t/updates-for-elasticsearch-guide-update-api-page/9781/2 "2012-11-21T16:51:55Z")

</div>

correction, three comments

--

---

<div class="post-metadata">

**Author:** ![drewr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/drewr/32/7803_2.png) [@drewr](https://discuss.elastic.co/u/drewr)\
**Post date:** [November 21, 2012, 9:20pm UTC](https://discuss.elastic.co/t/updates-for-elasticsearch-guide-update-api-page/9781/3 "2012-11-21T21:20:34Z")

</div>

Robert Kennington wrote:

> Here are two editorial comments in regard to the ES Guide Update  
> API page  
> [http://www.elasticsearch.org/guide/reference/api/update.html](http://www.elasticsearch.org/guide/reference/api/update.html):

[...]

Fixed. Thanks!

-Drew

--

---

<div class="post-metadata">

**Author:** ![Chris\_Male](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chris_male/32/2607_2.png) [@Chris\_Male](https://discuss.elastic.co/u/Chris_Male)\
**Post date:** [November 21, 2012, 10:23pm UTC](https://discuss.elastic.co/t/updates-for-elasticsearch-guide-update-api-page/9781/4 "2012-11-21T22:23:50Z")

</div>

Hi Robert,

Feel free to contribute any and all improvements via github.  
See [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/community/contributing-site.html) for  
details.

On Thursday, November 22, 2012 5:51:55 AM UTC+13, Robert Kennington wrote:

> correction, three comments

--

---

<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, 3:03am UTC](https://discuss.elastic.co/t/updates-for-elasticsearch-guide-update-api-page/9781/5 "2017-07-06T03:03:21Z")

</div>


