# Unknown tokenizer type \[kuromoji\_tokenizer\]

**URL:** <https://discuss.elastic.co/t/unknown-tokenizer-type-kuromoji-tokenizer/133523>\
**Category:** Elasticsearch\
**Created:** [May 28, 2018, 10:59am UTC](https://discuss.elastic.co/t/unknown-tokenizer-type-kuromoji-tokenizer/133523 "2018-05-28T10:59:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![qihu](https://avatars.discourse-cdn.com/v4/letter/q/e47774/32.png) [@qihu](https://discuss.elastic.co/u/qihu)\
**Post date:** [May 28, 2018, 10:59am UTC](https://discuss.elastic.co/t/unknown-tokenizer-type-kuromoji-tokenizer/133523/1 "2018-05-28T10:59:55Z")

</div>

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}

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 28, 2018, 11:50am UTC](https://discuss.elastic.co/t/unknown-tokenizer-type-kuromoji-tokenizer/133523/2 "2018-05-28T11:50:43Z")

</div>

What is the output of

```auto
GET /_cat/plugins?v

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 25, 2018, 11:56am UTC](https://discuss.elastic.co/t/unknown-tokenizer-type-kuromoji-tokenizer/133523/3 "2018-06-25T11:56:47Z")

</div>

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