David Pilato 19b2e77bc2 [Stempel] move integration tests to REST tests
We can keep only unit tests in plugins instead of starting each time a local node and running tests against it.

Also follow up of #12091
2015-07-08 15:19:26 +02:00

36 lines
807 B
YAML

# Integration tests for Stempel analysis component
#
---
"Index Stempel content":
- do:
indices.create:
index: test
body:
mappings:
type:
properties:
text:
type: string
analyzer: polish
- do:
cluster.health:
wait_for_status: yellow
- do:
index:
index: test
type: type
id: 1
body: { "text": "studenta był" }
- do:
indices.refresh: {}
- do:
search:
index: test
body:
query:
match:
text: student
- match: { hits.total: 1 }