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-30 08:00:23 -04:00
|
|
|
|
2013-07-23 19:54:12 -04:00
|
|
|
- is_true: matched
|
|
|
|
- is_true: ok
|
2013-07-30 08:00:23 -04:00
|
|
|
- match: { explanation.value: 1.0 }
|
2013-07-23 19:54:12 -04:00
|
|
|
|