mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-07 21:48:39 +00:00
20 lines
358 B
YAML
20 lines
358 B
YAML
---
|
|
"Metadata Fields":
|
|
|
|
- do:
|
|
update:
|
|
index: test_1
|
|
type: test
|
|
id: 1
|
|
fields: foo,bar,_source
|
|
body:
|
|
doc: { foo: baz }
|
|
upsert: { foo: bar }
|
|
|
|
- match: { get._source.foo: bar }
|
|
- match: { get.fields.foo: bar }
|
|
- not_ok: get.fields.bar
|
|
|
|
|
|
#### ADD _routing etc
|