Hello! I have a hosting with installed the Ukrainian plugin from this page Ukrainian analysis plugin | Elasticsearch Plugins and Integrations [8.7] | Elastic .
It's proven by this command:
bin/elasticsearch-plugin list
analysis-phonetic
analysis-ukrainian
However, I can't get it working.
brand3@vs2556:/usr/share/elasticsearch$ bin/elasticsearch-plugin list
analysis-phonetic
analysis-ukrainian
brand3@vs2556:/usr/share/elasticsearch$ curl -X GET "localhost:9200/_analyze?pretty" -H 'Content-Type: application/json' -d'
{
"filter" : ["lowercase", "trim", {"type" : "stop", "stopwords" : "_ukrainian_"}, {"type" : "stemmer", "language" : "ukrainian"}],
"tokenizer" : "standard",
"text" : "Потужність двигуна"
}
'
{
"error" : {
"root_cause" : [
{
"type" : "illegal_argument_exception",
"reason" : "Invalid stemmer class specified: Ukrainian"
}
],
"type" : "illegal_argument_exception",
"reason" : "Invalid stemmer class specified: Ukrainian",
"caused_by" : {
"type" : "class_not_found_exception",
"reason" : "org.tartarus.snowball.ext.UkrainianStemmer"
}
},
"status" : 400
}
Could somebody give me a cue where I'm wrong, please?