29 lines
597 B
YAML
Raw Normal View History

2013-06-23 22:03:05 +02:00
---
"Index with ID":
2013-06-23 22:03:05 +02:00
- do:
index:
index: weird-index-中文
type: weird.type
2013-06-23 22:03:05 +02:00
id: 1
body: { foo: bar }
- is_true: ok
- match: { _index: weird-index-中文 }
- match: { _type: weird.type }
2013-07-11 13:52:20 +02:00
- match: { _id: "1"}
2013-06-23 22:03:05 +02:00
- match: { _version: 1}
2013-06-26 21:04:20 +01:00
2013-06-23 22:03:05 +02:00
- do:
get:
index: weird-index-中文
type: weird.type
2013-06-23 22:03:05 +02:00
id: 1
- match: { _index: weird-index-中文 }
- match: { _type: weird.type }
2013-07-11 13:52:20 +02:00
- match: { _id: "1"}
2013-06-23 22:03:05 +02:00
- match: { _version: 1}
- match: { _source: { foo: bar }}