OpenSearch/rest-api-spec/test/get_source/10_basic.yaml

29 lines
453 B
YAML

---
"Basic":
- skip:
version: "0 - 0.90.0"
reason: "Get source not supported in pre 0.90.1 versions."
- do:
index:
index: test_1
type: test
id: 1
body: { "foo": "bar" }
- do:
get_source:
index: test_1
type: test
id: 1
- match: { '': { foo: bar } }
- do:
get_source:
index: test_1
id: 1
- match: { '': { foo: bar } }