OpenSearch/rest-api-spec/test/explain/10_basic.yaml

26 lines
416 B
YAML
Raw Normal View History

2013-07-23 19:54:12 -04:00
---
"Basic mlt":
- do:
index:
index: test_1
type: test
id: 1
body: { foo: bar, title: howdy }
- do:
indices.refresh: {}
- do:
explain:
index: test_1
type: test
id: 1
body:
query:
match_all: {}
2013-07-23 19:54:12 -04:00
- is_true: matched
- is_true: ok
2013-09-16 14:56:59 -04:00
- match: { explanation.value: 1 }
2013-07-23 19:54:12 -04:00