rest-api-spec.test.mget.12_non_existent_index.yml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rest-api-spec Show documentation
Show all versions of rest-api-spec Show documentation
OpenSearch subproject :rest-api-spec
---
"Non-existent index":
- do:
index:
index: test_1
id: 1
body: { foo: bar }
- do:
mget:
body:
docs:
- { _index: test_2, _id: 1}
- is_false: docs.0.found
- match: { docs.0._index: test_2 }
- match: { docs.0._id: "1" }
- do:
mget:
body:
docs:
- { _index: test_1, _id: 1}
- is_true: docs.0.found
- match: { docs.0._index: test_1 }
- match: { docs.0._id: "1" }
© 2015 - 2024 Weber Informatics LLC | Privacy Policy