29 lines
617 B
YAML
29 lines
617 B
YAML
---
|
|
"Index with ID":
|
|
|
|
- do:
|
|
index:
|
|
index: test-weird-index-中文
|
|
type: weird.type
|
|
id: 1
|
|
body: { foo: bar }
|
|
|
|
- is_true: ok
|
|
- match: { _index: test-weird-index-中文 }
|
|
- match: { _type: weird.type }
|
|
- match: { _id: "1"}
|
|
- match: { _version: 1}
|
|
|
|
- do:
|
|
get:
|
|
index: test-weird-index-中文
|
|
type: weird.type
|
|
id: 1
|
|
|
|
- match: { _index: test-weird-index-中文 }
|
|
- match: { _type: weird.type }
|
|
- match: { _id: "1"}
|
|
- match: { _version: 1}
|
|
- match: { _source: { foo: bar }}
|
|
|