2013-07-23 19:39:20 -04:00
|
|
|
---
|
|
|
|
"Basic percolation tests":
|
|
|
|
- skip:
|
2013-12-23 06:07:05 -05:00
|
|
|
version: "0 - 0.90.999"
|
2013-07-23 19:39:20 -04:00
|
|
|
reason: "Percolator redesign"
|
|
|
|
|
|
|
|
- do:
|
|
|
|
indices.create:
|
|
|
|
index: test_index
|
|
|
|
|
|
|
|
- do:
|
|
|
|
index:
|
|
|
|
index: test_index
|
2013-11-07 08:25:24 -05:00
|
|
|
type: .percolator
|
2013-07-23 19:39:20 -04:00
|
|
|
id: test_percolator
|
|
|
|
body:
|
|
|
|
query:
|
|
|
|
match_all: {}
|
|
|
|
|
|
|
|
- do:
|
|
|
|
indices.refresh: {}
|
|
|
|
|
|
|
|
- do:
|
|
|
|
percolate:
|
|
|
|
index: test_index
|
|
|
|
type: test_type
|
|
|
|
body:
|
|
|
|
doc:
|
|
|
|
foo: bar
|
|
|
|
|
2013-09-23 07:53:45 -04:00
|
|
|
- match: {'matches': [{_index: test_index, _id: test_percolator}]}
|