2013-06-23 22:03:05 +02:00
|
|
|
---
|
|
|
|
"Index with ID":
|
2013-07-01 15:58:23 +02:00
|
|
|
|
2013-06-23 22:03:05 +02:00
|
|
|
- do:
|
|
|
|
index:
|
2013-07-14 15:43:07 +02:00
|
|
|
index: weird-index-中文
|
|
|
|
type: weird.type
|
2013-06-23 22:03:05 +02:00
|
|
|
id: 1
|
|
|
|
body: { foo: bar }
|
2013-07-01 15:58:23 +02:00
|
|
|
|
|
|
|
- is_true: ok
|
2013-07-14 15:43:07 +02:00
|
|
|
- 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:
|
2013-07-14 15:43:07 +02:00
|
|
|
index: weird-index-中文
|
|
|
|
type: weird.type
|
2013-06-23 22:03:05 +02:00
|
|
|
id: 1
|
2013-07-01 15:58:23 +02:00
|
|
|
|
2013-07-14 15:43:07 +02:00
|
|
|
- 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 }}
|
|
|
|
|