Merge pull request #12953 from Kakakakakku/fix-doc

Fixed section name and api name in docs
This commit is contained in:
Clinton Gormley 2015-08-18 17:50:48 +02:00
commit 5496a504e2

View File

@ -114,7 +114,7 @@ If both `doc` and `script` is specified, then `doc` is ignored. Best is
to put your field pairs of the partial document in the script itself.
[float]
=== `detect_noop`
=== Detecting noop
By default if `doc` is specified then the document is always updated even
if the merging process doesn't cause any changes. Specifying `detect_noop`
@ -247,12 +247,10 @@ return the full updated source.
`version` & `version_type`::
The Update API uses the Elasticsearch's versioning support internally to make
The update API uses the Elasticsearch's versioning support internally to make
sure the document doesn't change during the update. You can use the `version`
parameter to specify that the document should only be updated if it's version
matches the one specified. By setting version type to `force` you can force
the new version of the document after update (use with care! with `force`
there is no guarantee the document didn't change).Version types `external` &
`external_gte` are not supported.