blob: f91f3236f969610b7426cff8de68e9001a98b04d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
---
"Non-existent index":
- do:
index:
index: test_1
type: test
id: 1
body: { foo: bar }
- do:
cluster.health:
wait_for_status: yellow
- do:
mget:
body:
docs:
- { _index: test_2, _type: test, _id: 1}
- is_false: docs.0.found
- match: { docs.0._index: test_2 }
- match: { docs.0._type: test }
- match: { docs.0._id: "1" }
- do:
mget:
body:
index: test_2
docs:
- { _index: test_1, _type: test, _id: 1}
- is_true: docs.0.found
- match: { docs.0._index: test_1 }
- match: { docs.0._type: test }
- match: { docs.0._id: "1" }
|