# Need Help with Japanese analyzer - (Kuromoji)

**URL:** https://discuss.elastic.co/t/need-help-with-japanese-analyzer-kuromoji/22918
**Category:** Elasticsearch
**Created:** [March 26, 2015, 12:35pm UTC](https://discuss.elastic.co/t/need-help-with-japanese-analyzer-kuromoji/22918 "2015-03-26T12:35:55Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Mangesh\_Ralegankar](https://avatars.discourse-cdn.com/v4/letter/m/cdc98d/32.png) [@Mangesh\_Ralegankar](https://discuss.elastic.co/u/Mangesh_Ralegankar)
#### Post date: [March 26, 2015, 12:35pm UTC](https://discuss.elastic.co/t/need-help-with-japanese-analyzer-kuromoji/22918/1 "2015-03-26T12:35:55Z")

</div>

Hi All,  
I need help how to specify analyzer in the search query (curl).

{  
"from" : 0,  
"size" : 1000,  
"query" : {  
"match" : {  
"text" : {  
"query" : "somejapanesetext"  
"type" : "phrase",  
"analyzer" : "kuromoji"  
}  
}  
},  
"explain" : true  
}

How I understand which analyzer is applied for this search query. has  
applied setting while creating index as below e.g

{  
"index":{  
"analysis":{  
"tokenizer" : {  
"kuromoji" : {  
"type":"kuromoji\_tokenizer",  
"mode":"search"  
}  
},  
"analyzer" : {  
"kuromoji\_analyzer" : {  
"type" : "custom",  
"tokenizer" : "kuromoji\_tokenizer"  
}  
}  
}  
}  
}'

Can some please guide to get right link or let me know what I am missing.

Thanks  
Mangesh R

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/61a1a948-897c-4beb-ba70-ec67aa6396f1%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/61a1a948-897c-4beb-ba70-ec67aa6396f1%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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: [July 6, 2017, 12:23am UTC](https://discuss.elastic.co/t/need-help-with-japanese-analyzer-kuromoji/22918/2 "2017-07-06T00:23:44Z")

</div>


