Open
Description
Type of issue
Inaccurate
What documentation page is affected
https://www.elastic.co/docs/reference/text-analysis/analysis-snowball-tokenfilter
What happened?
Followed the Snowball token filter example to create an English custom analyzer for a property on a new index. I have noted the request/response:
Request:
PUT /my-index-00001
{
"settings": {
"analysis": {
"analyzer": {
"my_analyzer": {
"tokenizer": "standard",
"filter": [
"lowercase",
"my_snow"
]
}
}
},
"filter": {
"my_snow": {
"type": "snowball",
"language": "English"
}
}
},
"mappings": {
"properties": {
"id": {
"type": "integer"
},
"parentId": {
"type": "integer"
},
"name": {
"type": "text",
"analyzer": "my_analyzer"
},
"description": {
"type": "text"
},
"path": {
"type": "text",
"fields": {
"raw": {
"type": "keyword"
}
}
},
"imageUrl": {
"type": "text"
},
"depth": {
"type": "integer"
},
"l": {
"type": "integer"
},
"r": {
"type": "integer"
}
}
}
}
Response:
{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "unknown setting [index.filter.my_snow.language] please check that any required plugins are installed, or check the breaking changes documentation for removed settings"
}
],
"type": "illegal_argument_exception",
"reason": "unknown setting [index.filter.my_snow.language] please check that any required plugins are installed, or check the breaking changes documentation for removed settings",
"suppressed": [
{
"type": "illegal_argument_exception",
"reason": "unknown setting [index.filter.my_snow.type] please check that any required plugins are installed, or check the breaking changes documentation for removed settings"
}
]
},
"status": 400
}
Additional info
I am running Elasticsearch 8.9.0 according to my research there should not be a plugin necessary to use snowball analysis.