fixed parent/routing mget tests - missing fields parameter

This commit is contained in:
Boaz Leskes 2013-07-15 10:31:28 +02:00
parent cde1260e81
commit 1cae9b82d2
2 changed files with 4 additions and 3 deletions

View File

@ -39,9 +39,9 @@
body: body:
docs: docs:
- { _id: 1 } - { _id: 1 }
- { _id: 1, parent: 5 } - { _id: 1, parent: 5, fields: [ _parent, _routing ] }
- { _id: 1, parent: 4 } - { _id: 1, parent: 4, fields: [ _parent, _routing ] }
- { _id: 2, parent: 5 } - { _id: 2, parent: 5, fields: [ _parent, _routing ] }
- is_false: docs.0.exists - is_false: docs.0.exists
- is_false: docs.1.exists - is_false: docs.1.exists

View File

@ -29,6 +29,7 @@
mget: mget:
index: test_1 index: test_1
type: test type: test
fields: [ _routing , _parent]
body: body:
docs: docs:
- { _id: 1 } - { _id: 1 }