Updates for ElasticSearch Guide Update API Page

Here are two editorial comments in regard to the ES Guide Update API pagehttp://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?

--

correction, three comments

--

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:

[...]

Fixed. Thanks!

-Drew

--

Hi Robert,

Feel free to contribute any and all improvements via github.
See 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

--