2013-06-28 19:44:13 +02:00

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