# Korean nori-analysis plugin not working on searching

**URL:** <https://discuss.elastic.co/t/korean-nori-analysis-plugin-not-working-on-searching/154501>\
**Category:** Elasticsearch\
**Created:** [October 29, 2018, 8:00pm UTC](https://discuss.elastic.co/t/korean-nori-analysis-plugin-not-working-on-searching/154501 "2018-10-29T20:00:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![golch](https://avatars.discourse-cdn.com/v4/letter/g/50afbb/32.png) [@golch](https://discuss.elastic.co/u/golch)\
**Post date:** [October 29, 2018, 8:00pm UTC](https://discuss.elastic.co/t/korean-nori-analysis-plugin-not-working-on-searching/154501/1 "2018-10-29T20:00:51Z")

</div>

Hi. this is my setting  
`settings = { "settings": { "index": { "analysis": { "tokenizer": { "nori_user_dict": { "type": "nori_tokenizer", "decompound_mode": "mixed", "user_dictionary": "userdict_ko.txt" } }, "analyzer": { "korean": { "type": "custom", "tokenizer": "nori_user_dict" } } } } } }`

and i did this analyze query

```
`curl -X GET "localhost:9200/scene_talk/_analyze?pretty=true" -H 'Content-Type: application/json' -d'

```

{  
"analyzer": "korean",  
"text": "아버지가 방에 들어가신다."  
}  
'`

this is return value  
`{ "tokens" : [{ "token" : "아버지", "start_offset" : 0, "end_offset" : 3, "type" : "word", "position" : 0 }, { "token" : "가", "start_offset" : 3, "end_offset" : 4, "type" : "word", "position" : 1 }, { "token" : "방", "start_offset" : 5, "end_offset" : 6, "type" : "word", "position" : 2 }, { "token" : "에", "start_offset" : 6, "end_offset" : 7, "type" : "word", "position" : 3 }, { "token" : "들어가", "start_offset" : 8, "end_offset" : 11, "type" : "word", "position" : 4 }, { "token" : "신다", "start_offset" : 11, "end_offset" : 13, "type" : "word", "position" : 5, "positionLength" : 2 }, { "token" : "시", "start_offset" : 11, "end_offset" : 13, "type" : "word", "position" : 5 }, { "token" : "ᆫ다", "start_offset" : 11, "end_offset" : 13, "type" : "word", "position" : 6 }] }`

however, when i shoot the search query, analyzer does not working....

```
`GET /scene_talk/_search

```

{  
"query": {  
"match": {"txt": "아버지"}  
}  
}`

How can i fix this ? help me plz...

---

<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:** [November 26, 2018, 8:00pm UTC](https://discuss.elastic.co/t/korean-nori-analysis-plugin-not-working-on-searching/154501/2 "2018-11-26T20:00:54Z")

</div>

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