Hi there,
I get an issue with _reload_search_analyzers
I simply try to reload a synonym file but it doesn't reload it, no error, just the new file is not taken into account.
So I tried the old way, closing and re-opening the index and I get this error:
org.elasticsearch.ElasticsearchException$1: Cannot invoke \"org.elasticsearch.index.analysis.AnalyzerComponents.getCharFilters()\" because \"components\" is null"
My config:
"analyzer": {
"synonym": {
"tokenizer": "standard",
"filter": [
"lowercase",
"kstem",
"synonyms"
]
}
},
"filter": {
"synonyms": {
"type": "synonym",
"synonyms_path": "synonyms/all.txt",
"updateable": true
}
},
The synonym analyzer is used on search_analyzer for a completion type and on standard text field. It only fails with the completion type:
"suggest": {
"type": "completion",
"analyzer": "simple",
"search_analyzer": "synonym"
},
Tried on 7.3.2 7.8.0 7.8.1 and 7.9.3