2013-09-23 13:53:45 +02:00

32 lines
558 B
YAML

---
"Basic percolation tests":
- skip:
version: "0 - 0.90.9"
reason: "Percolator redesign"
- do:
indices.create:
index: test_index
- do:
index:
index: test_index
type: _percolator
id: test_percolator
body:
query:
match_all: {}
- do:
indices.refresh: {}
- do:
percolate:
index: test_index
type: test_type
body:
doc:
foo: bar
- match: {'matches': [{_index: test_index, _id: test_percolator}]}