blob: 3dc825290f4016bb37c0c0e981a0aed12a3f9526 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# 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 }
|