File tree 1 file changed +6
-8
lines changed
1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -307,22 +307,20 @@ By default the updated source is not returned.
307
307
See <<search-request-source-filtering, `source filtering`>> for details.
308
308
309
309
310
- `version` & `version_type` ::
310
+ `version`::
311
311
312
312
The update API uses the Elasticsearch's versioning support internally to make
313
313
sure the document doesn't change during the update. You can use the `version`
314
314
parameter to specify that the document should only be updated if its version
315
- matches the one specified. By setting version type to `force` you can force
316
- the new version of the document after update (use with care! with `force`
317
- there is no guarantee the document didn't change).
315
+ matches the one specified.
318
316
319
317
[NOTE]
320
- .The update API does not support external versioning
318
+ .The update API does not support versioning other than internal
321
319
=====================================================
322
320
323
- External versioning (version types `external` & `external_gte`) is not
324
- supported by the update API as it would result in Elasticsearch version
325
- numbers being out of sync with the external system. Use the
321
+ External (version types `external` & `external_gte`) or forced (version type `force`)
322
+ versioning is not supported by the update API as it would result in Elasticsearch
323
+ version numbers being out of sync with the external system. Use the
326
324
<<docs-index_,`index` API>> instead.
327
325
328
326
=====================================================
You can’t perform that action at this time.
0 commit comments