OpenSearch/plugins/analysis-stempel/rest-api-spec/test/analysis_stempel/10_basic.yaml

19 lines
462 B
YAML
Raw Normal View History

2015-07-07 01:27:25 -04:00
# Integration tests for Polish analysis components
#
"Stemmer":
- do:
indices.analyze:
text: studenci
tokenizer: keyword
filters: polish_stem
- length: { tokens: 1 }
- match: { tokens.0.token: student }
---
"Analyzer":
- do:
indices.analyze:
text: studenta był
analyzer: polish
- length: { tokens: 1 }
- match: { tokens.0.token: student }