Unknown tokenizer type [kuromoji_tokenizer]


I just followed the toturial of kuromoji plugin, and tried to use the demo to check if it works. However, when I was trying to create an index using kuromoji_tokenizer, it cannot be found. (I have restart ElasticSearch after installing the plugin) Here is the code and output.

/elasticsearch-6.2.4$ curl -X PUT "localhost:9200/kuromoji_sample" -H 'Content-Type: application/json' -d'

"settings": {
"index": {
"analysis": {
"tokenizer": {
"kuromoji_user_dict": {
"type": "kuromoji_tokenizer",
"mode": "extended",
"discard_punctuation": "false",
"user_dictionary": "userdict_ja.txt"
"analyzer": {
"my_analyzer": {
"type": "custom",
"tokenizer": "kuromoji_user_dict"

{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Unknown tokenizer type [kuromoji_tokenizer] for [kuromoji_user_dict]"}],"type":"illegal_argument_exception","reason":"Unknown tokenizer type [kuromoji_tokenizer] for [kuromoji_user_dict]"},"status":400}

(David Pilato) #2

What is the output of

GET /_cat/plugins?v

(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.