21 lines
358 B
YAML
Raw Normal View History

2013-06-28 19:44:13 +02:00
---
"Fields":
2013-06-28 19:44:13 +02:00
- 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 }
2014-01-04 01:21:43 +01:00
- match: { get.fields.foo: [bar] }
- is_false: get.fields.bar
2013-06-28 19:44:13 +02:00
# TODO:
#
# - Add _routing