2013-07-01 16:00:58 +02:00

45 lines
772 B
YAML

---
"Basic GET":
- do:
catch: missing
get:
index: test_1
type: test
id: 1
- do:
get:
index: test_1
type: test
id: 1
ignore_missing: 1
- do:
index:
index: test_1
type: test
id: 1
body: { "foo": "bar" }
- do:
get:
index: test_1
type: test
id: 1
- match: { _index: test_1 }
- match: { _type: test }
- match: { _id: 1 }
- match: { _source: { foo: bar } }
- do:
get:
index: test_1
id: 1
- match: { _index: test_1 }
- match: { _type: test }
- match: { _id: 1 }
- match: { _source: { foo: bar } }