[DOCS] Remove documentation for `force` version-type
This option should not be recommended to anyone, and should never be used, upon chance of primary/replica divergence. Relates to #19769
This commit is contained in:
parent
f3b8e7c238
commit
f0a2726dcd
|
@ -155,12 +155,10 @@ than the version of the stored document. If there is no existing document
|
||||||
the operation will succeed as well. The given version will be used as the new version
|
the operation will succeed as well. The given version will be used as the new version
|
||||||
and will be stored with the new document. The supplied version must be a non-negative long number.
|
and will be stored with the new document. The supplied version must be a non-negative long number.
|
||||||
|
|
||||||
`force`:: the document will be indexed regardless of the version of the stored document or if there
|
*NOTE*: The `external_gte` version type is meant for special use cases and
|
||||||
is no existing document. The given version will be used as the new version and will be stored
|
should be used with care. If used incorrectly, it can result in loss of data.
|
||||||
with the new document. This version type is typically used for correcting errors.
|
There is another option, `force`, which is deprecated because it can cause
|
||||||
|
primary and replica shards to diverge.
|
||||||
*NOTE*: The `external_gte` & `force` version types are meant for special use cases and should be used
|
|
||||||
with care. If used incorrectly, they can result in loss of data.
|
|
||||||
|
|
||||||
[float]
|
[float]
|
||||||
[[operation-type]]
|
[[operation-type]]
|
||||||
|
|
Loading…
Reference in New Issue