27 lines
599 B
YAML
27 lines
599 B
YAML
---
|
|
"Index with ID":
|
|
|
|
- do:
|
|
index:
|
|
index: test-weird-index-中文
|
|
type: weird.type
|
|
id: 1
|
|
body: { foo: bar }
|
|
|
|
- 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 }}
|