mget ids and formatting

This commit is contained in:
Honza Kral 2013-07-11 14:04:16 +02:00
parent 4117eb5509
commit 2c128b8cca
9 changed files with 27 additions and 27 deletions

View File

@ -26,21 +26,21 @@
- is_false: docs.0.exists - is_false: docs.0.exists
- match: { docs.0._index: test_2 } - match: { docs.0._index: test_2 }
- match: { docs.0._type: test } - match: { docs.0._type: test }
- match: { docs.0._id: 1 } - match: { docs.0._id: "1" }
- is_false: docs.1.exists - is_false: docs.1.exists
- match: { docs.1._index: test_1 } - match: { docs.1._index: test_1 }
- match: { docs.1._type: none } - match: { docs.1._type: none }
- match: { docs.1._id: 1 } - match: { docs.1._id: "1" }
- is_false: docs.2.exists - is_false: docs.2.exists
- match: { docs.2._index: test_1 } - match: { docs.2._index: test_1 }
- match: { docs.2._type: test } - match: { docs.2._type: test }
- match: { docs.2._id: 2 } - match: { docs.2._id: "2" }
- is_true: docs.3.exists - is_true: docs.3.exists
- match: { docs.3._index: test_1 } - match: { docs.3._index: test_1 }
- match: { docs.3._type: test } - match: { docs.3._type: test }
- match: { docs.3._id: 1 } - match: { docs.3._id: "1" }
- match: { docs.3._version: 1 } - match: { docs.3._version: 1 }
- match: { docs.3._source: { foo: bar }} - match: { docs.3._source: { foo: bar }}

View File

@ -28,21 +28,21 @@
- is_false: docs.0.exists - is_false: docs.0.exists
- match: { docs.0._index: test_2 } - match: { docs.0._index: test_2 }
- match: { docs.0._type: test } - match: { docs.0._type: test }
- match: { docs.0._id: 1 } - match: { docs.0._id: "1" }
- is_false: docs.1.exists - is_false: docs.1.exists
- match: { docs.1._index: test_1 } - match: { docs.1._index: test_1 }
- match: { docs.1._type: none } - match: { docs.1._type: none }
- match: { docs.1._id: 1 } - match: { docs.1._id: "1" }
- is_false: docs.2.exists - is_false: docs.2.exists
- match: { docs.2._index: test_1 } - match: { docs.2._index: test_1 }
- match: { docs.2._type: test } - match: { docs.2._type: test }
- match: { docs.2._id: 2 } - match: { docs.2._id: "2" }
- is_true: docs.3.exists - is_true: docs.3.exists
- match: { docs.3._index: test_1 } - match: { docs.3._index: test_1 }
- match: { docs.3._type: test } - match: { docs.3._type: test }
- match: { docs.3._id: 1 } - match: { docs.3._id: "1" }
- match: { docs.3._version: 1 } - match: { docs.3._version: 1 }
- match: { docs.3._source: { foo: bar }} - match: { docs.3._source: { foo: bar }}

View File

@ -24,7 +24,7 @@
- is_false: docs.0.exists - is_false: docs.0.exists
- match: { docs.0._index: test_2 } - match: { docs.0._index: test_2 }
- match: { docs.0._type: test } - match: { docs.0._type: test }
- match: { docs.0._id: 1 } - match: { docs.0._id: "1" }
- do: - do:
mget: mget:
@ -36,5 +36,5 @@
- is_true: docs.0.exists - is_true: docs.0.exists
- match: { docs.0._index: test_1 } - match: { docs.0._index: test_1 }
- match: { docs.0._type: test } - match: { docs.0._type: test }
- match: { docs.0._id: 1 } - match: { docs.0._id: "1" }

View File

@ -46,7 +46,7 @@
- is_true: docs.0.exists - is_true: docs.0.exists
- match: { docs.0._index: test_1 } - match: { docs.0._index: test_1 }
- match: { docs.0._type: test } - match: { docs.0._type: test }
- match: { docs.0._id: 1 } - match: { docs.0._id: "1" }
- match: { docs.0._version: 1 } - match: { docs.0._version: 1 }
- match: { docs.0._source: { foo: bar }} - match: { docs.0._source: { foo: bar }}

View File

@ -28,14 +28,14 @@
- is_true: docs.0.exists - is_true: docs.0.exists
- match: { docs.0._index: test_1 } - match: { docs.0._index: test_1 }
- match: { docs.0._type: test } - match: { docs.0._type: test }
- match: { docs.0._id: 1 } - match: { docs.0._id: "1" }
- match: { docs.0._version: 1 } - match: { docs.0._version: 1 }
- match: { docs.0._source: { foo: bar }} - match: { docs.0._source: { foo: bar }}
- is_false: docs.1.exists - is_false: docs.1.exists
- match: { docs.1._index: test_1 } - match: { docs.1._index: test_1 }
- match: { docs.1._type: test } - match: { docs.1._type: test }
- match: { docs.1._id: 2 } - match: { docs.1._id: "2" }
- do: - do:
mget: mget:
@ -46,14 +46,14 @@
- is_true: docs.0.exists - is_true: docs.0.exists
- match: { docs.0._index: test_1 } - match: { docs.0._index: test_1 }
- match: { docs.0._type: test } - match: { docs.0._type: test }
- match: { docs.0._id: 1 } - match: { docs.0._id: "1" }
- match: { docs.0._version: 1 } - match: { docs.0._version: 1 }
- match: { docs.0._source: { foo: bar }} - match: { docs.0._source: { foo: bar }}
- is_true: docs.1.exists - is_true: docs.1.exists
- match: { docs.1._index: test_1 } - match: { docs.1._index: test_1 }
- match: { docs.1._type: test_2 } - match: { docs.1._type: test_2 }
- match: { docs.1._id: 2 } - match: { docs.1._id: "2" }
- match: { docs.1._version: 1 } - match: { docs.1._version: 1 }
- match: { docs.1._source: { foo: baz }} - match: { docs.1._source: { foo: baz }}

View File

@ -2,7 +2,7 @@
"Fields": "Fields":
- skip: - skip:
version: "0.90.3- 999" version: "0.90.3 - 999"
reason: "Tests pre 0.90.2 for single string fields" reason: "Tests pre 0.90.2 for single string fields"
- do: - do:

View File

@ -49,14 +49,14 @@
- is_true: docs.2.exists - is_true: docs.2.exists
- match: { docs.2._index: test_1 } - match: { docs.2._index: test_1 }
- match: { docs.2._type: test } - match: { docs.2._type: test }
- match: { docs.2._id: 1 } - match: { docs.2._id: "1" }
- match: { docs.2.fields._parent: 4 } - match: { docs.2.fields._parent: "4" }
- match: { docs.2.fields._routing: 4 } - match: { docs.2.fields._routing: "4" }
- is_true: docs.3.exists - is_true: docs.3.exists
- match: { docs.3._index: test_1 } - match: { docs.3._index: test_1 }
- match: { docs.3._type: test } - match: { docs.3._type: test }
- match: { docs.3._id: 2 } - match: { docs.3._id: "2" }
- match: { docs.3.fields._parent: 5 } - match: { docs.3.fields._parent: "5" }
- match: { docs.3.fields._routing: 5 } - match: { docs.3.fields._routing: "5" }

View File

@ -28,5 +28,5 @@
- is_true: docs.2.exists - is_true: docs.2.exists
- match: { docs.2._index: test_1 } - match: { docs.2._index: test_1 }
- match: { docs.2._type: test } - match: { docs.2._type: test }
- match: { docs.2._id: 1 } - match: { docs.2._id: "1" }
- match: { docs.2.fields._routing: 5 } - match: { docs.2.fields._routing: "5" }

View File

@ -41,7 +41,7 @@
- is_true: docs.2.exists - is_true: docs.2.exists
- match: { docs.2._index: test_1 } - match: { docs.2._index: test_1 }
- match: { docs.2._type: test } - match: { docs.2._type: test }
- match: { docs.2._id: 1 } - match: { docs.2._id: "1" }
- match: { docs.2.fields._parent: 4 } - match: { docs.2.fields._parent: "4" }
- match: { docs.2.fields._routing: 5 } - match: { docs.2.fields._routing: "5" }