OpenSearch/rest-api-spec/test/bulk/30_big_string.yaml

18 lines
391 B
YAML
Raw Normal View History

2013-07-20 15:12:39 -04:00
---
"One big string":
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}