IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Snowball token filter
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Snowball token filter
editA filter that stems words using a Snowball-generated stemmer. The
language parameter controls the stemmer with the following available
values: Arabic, Armenian, Basque, Catalan, Danish, Dutch, English,
Estonian, Finnish, French, German, German2, Hungarian, Italian, Irish, Kp,
Lithuanian, Lovins, Norwegian, Porter, Portuguese, Romanian,
Russian, Spanish, Swedish, Turkish.
For example:
PUT /my-index-000001
{
"settings": {
"analysis": {
"analyzer": {
"my_analyzer": {
"tokenizer": "standard",
"filter": [ "lowercase", "my_snow" ]
}
},
"filter": {
"my_snow": {
"type": "snowball",
"language": "Lovins"
}
}
}
}
}