|
---
|
|
"Array of objects":
|
|
- do:
|
|
bulk:
|
|
refresh: true
|
|
body:
|
|
- index:
|
|
_index: test_index
|
|
_type: test_type
|
|
_id: test_id
|
|
- f1: v1
|
|
f2: 42
|
|
- index:
|
|
_index: test_index
|
|
_type: test_type
|
|
_id: test_id2
|
|
- f1: v2
|
|
f2: 47
|
|
|
|
- do:
|
|
count:
|
|
index: test_index
|
|
|
|
- match: {count: 2}
|
|
|