Docs: Added a note about the update API not supporting external versioning

Closes #12820
This commit is contained in:
Clinton Gormley 2016-03-10 12:33:14 +01:00
parent cd12241e9f
commit f9622f9acc
1 changed files with 12 additions and 2 deletions

View File

@ -251,5 +251,15 @@ 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 its version parameter to specify that the document should only be updated if its version
matches the one specified. By setting version type to `force` you can force 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` 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` & there is no guarantee the document didn't change).
`external_gte` are not supported.
[NOTE]
.The update API does not support external versioning
=====================================================
External versioning (version types `external` & `external_gte`) is not
supported by the update API as it would result in Elasticsearch version
numbers being out of sync with the external system. Use the
<<docs-index,`index` API>> instead.
=====================================================