2013-07-20 15:12:39 -04:00
|
|
|
---
|
2013-07-24 15:41:29 -04:00
|
|
|
"List of strings":
|
2013-07-20 15:12:39 -04:00
|
|
|
- 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}
|
|
|
|
|