I got below error while running the elastic search
java.lang.IllegalArgumentException: Custom Analyzer [kuromojiAnalyzer] failed to find tokenizer under name [kuromoji_tokenizer]
USed the below jar version of kuromoji
analysis-kuromoji-2.3.1
lucene-analyzers-kuromoji-5.5.0
mappings as below
"jap":
{
"type":"string",
"analyzer":"kuromojiAnalyzer",
"search_analyzer":"kuromojiAnalyzer"
}
It requires the path.home to fetch the jars but we cant place the jars in right location
We added the kuromoji jar in build path but we cant fetch the jar as we required
Note that you should not embed nodes in your application. It's not recommended. It's not supported.
It's better to use a standalone node and use then a TransportClient in your application.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.