I've been doing well using Elasticsearch on "English" documents. However, I got stuck on prefix query when using "Korean" words.
In details, a document contains word such as "한글"
and I want to get the document using prefix query with search term not only "한"
but also "ㅎ"
.
I could not do that using default settings.
I saw that it's related to icu_normalizer
or nfd decomposition
or something else.
But I could not totally understand the way I have to do to get the result "한글" using "ㅎ" search term.
Is there anyone can help me?
Thanks in advance.
Maybe this code helps you.