mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-06 04:58:50 +00:00
Also added "external_gt" as an alias name for VersionType.EXTERNAL , accessible for the rest layer. Closes #4213 , Closes #2946
34 lines
760 B
YAML
34 lines
760 B
YAML
---
|
|
"External version":
|
|
|
|
- do:
|
|
create:
|
|
index: test_1
|
|
type: test
|
|
id: 1
|
|
body: { foo: bar }
|
|
version_type: force
|
|
version: 5
|
|
|
|
- match: { _version: 5}
|
|
|
|
- do:
|
|
catch: conflict
|
|
create:
|
|
index: test_1
|
|
type: test
|
|
id: 1
|
|
body: { foo: bar }
|
|
version_type: force
|
|
version: 5
|
|
|
|
- do:
|
|
catch: conflict
|
|
create:
|
|
index: test_1
|
|
type: test
|
|
id: 1
|
|
body: { foo: bar }
|
|
version_type: force
|
|
version: 6
|