2013-07-23 19:39:20 -04:00
|
|
|
---
|
|
|
|
"Basic percolation tests":
|
|
|
|
- skip:
|
2013-09-17 08:28:26 -04:00
|
|
|
version: "0.90.9 - 999"
|
2013-07-23 19:39:20 -04:00
|
|
|
reason: "Percolator redesign"
|
|
|
|
|
|
|
|
- do:
|
|
|
|
indices.create:
|
|
|
|
index: test_index
|
|
|
|
|
|
|
|
- do:
|
|
|
|
index:
|
|
|
|
index: _percolator
|
|
|
|
type: test_index
|
|
|
|
id: test_percolator
|
|
|
|
body:
|
|
|
|
query:
|
|
|
|
match_all: {}
|
|
|
|
|
|
|
|
- do:
|
|
|
|
indices.refresh: {}
|
|
|
|
|
|
|
|
- do:
|
|
|
|
percolate:
|
|
|
|
index: test_index
|
|
|
|
type: test_type
|
|
|
|
body:
|
|
|
|
doc:
|
|
|
|
foo: bar
|
|
|
|
|
|
|
|
- is_true: ok
|
|
|
|
|
|
|
|
- match: {'matches': ['test_percolator']}
|