浏览代码

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

Closes #12820
Clinton Gormley 9 年之前
父节点
当前提交
f9622f9acc
共有 1 个文件被更改,包括 12 次插入2 次删除
  1. 12 2
      docs/reference/docs/update.asciidoc

+ 12 - 2
docs/reference/docs/update.asciidoc

@@ -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
 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.
+there is no guarantee the document didn't change).
+
+[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.
+
+=====================================================