This commit is contained in:
Honza Kral 2013-07-11 02:21:56 +02:00
parent 0fb4a1193f
commit 67fd978494
6 changed files with 13 additions and 13 deletions

View File

@ -10,7 +10,7 @@
- is_true: ok
- match: { _index: test_1 }
- match: { _type: test }
- match: { _id: 1}
- match: { _id: "1"}
- match: { _version: 1}
- do:
@ -21,7 +21,7 @@
- match: { _index: test_1 }
- match: { _type: test }
- match: { _id: 1}
- match: { _id: "1"}
- match: { _version: 1}
- match: { _source: { foo: bar }}

View File

@ -30,7 +30,7 @@
- match: { _index: test_1 }
- match: { _type: test }
- match: { _id: 1 }
- match: { _id: "1" }
- match: { _source: { foo: bar } }
- do:
@ -40,5 +40,5 @@
- match: { _index: test_1 }
- match: { _type: test }
- match: { _id: 1 }
- match: { _id: "1" }
- match: { _source: { foo: bar } }

View File

@ -16,7 +16,7 @@
- match: { _index: test_1 }
- match: { _type: test }
- match: { _id: 1 }
- match: { _id: "1" }
- match: { fields.foo: bar }
- is_false: _source

View File

@ -28,9 +28,9 @@
parent: 5
fields: [_parent, _routing]
- match: { _id: 1}
- match: { fields._parent: 5}
- match: { fields._routing: 5}
- match: { _id: "1"}
- match: { fields._parent: "5"}
- match: { fields._routing: "5"}
- do:
catch: missing

View File

@ -19,8 +19,8 @@
routing: 5
fields: [_routing]
- match: { _id: 1}
- match: { fields._routing: 5}
- match: { _id: "1"}
- match: { fields._routing: "5"}
- do:
catch: missing

View File

@ -30,9 +30,9 @@
routing: 4
fields: [_parent, _routing]
- match: { _id: 1}
- match: { fields._parent: 5}
- match: { fields._routing: 4}
- match: { _id: "1"}
- match: { fields._parent: "5"}
- match: { fields._routing: "4"}
- do:
catch: missing