diff --git a/docs/reference/docs/update.asciidoc b/docs/reference/docs/update.asciidoc index ada9e283a45..06958b4e624 100644 --- a/docs/reference/docs/update.asciidoc +++ b/docs/reference/docs/update.asciidoc @@ -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. - -