OpenSearch/rest-api-spec/test/percolate/15_new.yaml

32 lines
560 B
YAML
Raw Normal View History

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
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
- match: {'matches': [{_index: test_index, _id: test_percolator}]}