I am trying to install ICU Analysis plugin manually in Elasticsearch 1.4.0. I have downloaded elasticsearch-analysis-icu-2.4.1.jar, lucene-analyzers-icu-4.10.2.jar and icu4j-54.1.1.jar. The plugin appears normally in the console, but when I try to use icu_tokenizer, I get the following error:
NoClassDefFoundError[Could not initialize class org.apache.lucene.analysis.icu.segmentation.DefaultICUTokenizerConfig]
This class actually exists in lucene-analyzers-icu. Is there something I am missing?
Did you try using the plugin installer instead of downloading the jar files manually as suggested in the documentation?
./bin/plugin -install elasticsearch/elasticsearch-analysis-icu/2.6.0
Run the command and restart the server. The plugin will be registered and functional.