2013-06-28 13:44:13 -04:00
|
|
|
---
|
2013-07-25 05:16:54 -04:00
|
|
|
"Fields":
|
2013-06-28 13:44:13 -04:00
|
|
|
|
|
|
|
- do:
|
|
|
|
update:
|
|
|
|
index: test_1
|
|
|
|
type: test
|
|
|
|
id: 1
|
|
|
|
fields: foo,bar,_source
|
|
|
|
body:
|
|
|
|
doc: { foo: baz }
|
|
|
|
upsert: { foo: bar }
|
|
|
|
|
2013-07-01 09:58:23 -04:00
|
|
|
- match: { get._source.foo: bar }
|
2014-01-03 19:21:43 -05:00
|
|
|
- match: { get.fields.foo: [bar] }
|
2013-07-01 09:58:23 -04:00
|
|
|
- is_false: get.fields.bar
|
2013-06-28 13:44:13 -04:00
|
|
|
|
2013-07-25 05:16:54 -04:00
|
|
|
# TODO:
|
|
|
|
#
|
|
|
|
# - Add _routing
|