# Elasticsearch index creation and searching on japanese data

**URL:** <https://discuss.elastic.co/t/elasticsearch-index-creation-and-searching-on-japanese-data/22404>\
**Category:** Elasticsearch\
**Created:** [February 26, 2015, 7:46am UTC](https://discuss.elastic.co/t/elasticsearch-index-creation-and-searching-on-japanese-data/22404 "2015-02-26T07:46:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![K\_Samanth\_Kumar\_Redd](https://avatars.discourse-cdn.com/v4/letter/k/e9c0ed/32.png) [@K\_Samanth\_Kumar\_Redd](https://discuss.elastic.co/u/K_Samanth_Kumar_Redd)\
**Post date:** [February 26, 2015, 7:46am UTC](https://discuss.elastic.co/t/elasticsearch-index-creation-and-searching-on-japanese-data/22404/1 "2015-02-26T07:46:37Z")

</div>

Hi,

I am using elasticsearch for last 6 months. I am very happy to work with  
elasticsearch till now.

But I have the following requirement:  
I have the Japanese data. I want to create index on Japanese data. And also  
I want to search on indexed japanese data.

I did lot of google search, but I am not getting the proper guidance/link.

Can anybody please help me. Thanks in advance!

Regards,  
Samanth

--  
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/1771c070-503d-4a60-b128-5b321d53ba43%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/1771c070-503d-4a60-b128-5b321d53ba43%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Jason\_Zhang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jason_zhang/32/745_2.png) [@Jason\_Zhang](https://discuss.elastic.co/u/Jason_Zhang)\
**Post date:** [February 26, 2015, 7:59am UTC](https://discuss.elastic.co/t/elasticsearch-index-creation-and-searching-on-japanese-data/22404/2 "2015-02-26T07:59:21Z")

</div>

Hi,

> I want to create index on Japanese data.

Where's your data? In csv files, mysql?

> And also I want to search on indexed japanese data.

If you want a japanese analyzer, you can try elasticsearch-analysis-kuromoji  
[https://github.com/elasticsearch/elasticsearch-analysis-kuromoji](https://github.com/elasticsearch/elasticsearch-analysis-kuromoji)

jasonz

On Thursday, February 26, 2015 at 3:46:37 PM UTC+8, K.Samanth Kumar Reddy  
wrote:

> Hi,
> 
> I am using elasticsearch for last 6 months. I am very happy to work with  
> elasticsearch till now.
> 
> But I have the following requirement:  
> I have the Japanese data. I want to create index on Japanese data. And  
> also I want to search on indexed japanese data.
> 
> I did lot of google search, but I am not getting the proper guidance/link.
> 
> Can anybody please help me. Thanks in advance!
> 
> Regards,  
> Samanth

--  
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/ab457e15-b3d2-4f9e-8982-b4c23135772b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ab457e15-b3d2-4f9e-8982-b4c23135772b%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![K\_Samanth\_Kumar\_Redd](https://avatars.discourse-cdn.com/v4/letter/k/e9c0ed/32.png) [@K\_Samanth\_Kumar\_Redd](https://discuss.elastic.co/u/K_Samanth_Kumar_Redd)\
**Post date:** [February 26, 2015, 9:58am UTC](https://discuss.elastic.co/t/elasticsearch-index-creation-and-searching-on-japanese-data/22404/3 "2015-02-26T09:58:43Z")

</div>

My data is available in MSSQL database. I am able to read the japan data  
and create the index using java. Here I followed the same approach which I  
followed for creating the english data earlier. Am I doing in the right way?

In this case, will the default analyzer be applied automatically for Japan  
data also?.

Thanks,  
Samanth

--  
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/151216a7-16ac-4fa1-b4fc-ba076d1b6508%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/151216a7-16ac-4fa1-b4fc-ba076d1b6508%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Jason\_Zhang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jason_zhang/32/745_2.png) [@Jason\_Zhang](https://discuss.elastic.co/u/Jason_Zhang)\
**Post date:** [February 26, 2015, 12:06pm UTC](https://discuss.elastic.co/t/elasticsearch-index-creation-and-searching-on-japanese-data/22404/4 "2015-02-26T12:06:57Z")

</div>

You can visit "localhost:9200/${your\_index}/${your\_type}/\_search" in your  
browser.  
Then check whether the number of hits.\_total is correspond to the number of  
your db data or not.

Yes, ES will use standard analyzer when no analyzer is specified explicitly  
in your \_mapping or elasticsearch.yml.

Actually I think kuromoji is better than the default standard analyzer if  
you want to search the japanese fields.

You can try `curl 'localhost:9200/_analyze?analyzer=standard' -d ' 高速スケーラブル検索エンジン'` and change the 'analyzer' to 'kuromoji' to check which one  
is better if you're interested.  
Docs here.  
[http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-analyze.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-analyze.html)

On Thursday, February 26, 2015 at 5:58:43 PM UTC+8, K.Samanth Kumar Reddy  
wrote:

> My data is available in MSSQL database. I am able to read the japan data  
> and create the index using java. Here I followed the same approach which I  
> followed for creating the english data earlier. Am I doing in the right way?
> 
> In this case, will the default analyzer be applied automatically for Japan  
> data also?.
> 
> Thanks,  
> Samanth

--  
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/bcf02d6f-253f-4844-aed9-c0b199209424%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/bcf02d6f-253f-4844-aed9-c0b199209424%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![K\_Samanth\_Kumar\_Redd](https://avatars.discourse-cdn.com/v4/letter/k/e9c0ed/32.png) [@K\_Samanth\_Kumar\_Redd](https://discuss.elastic.co/u/K_Samanth_Kumar_Redd)\
**Post date:** [February 26, 2015, 12:20pm UTC](https://discuss.elastic.co/t/elasticsearch-index-creation-and-searching-on-japanese-data/22404/5 "2015-02-26T12:20:39Z")

</div>

Jason, Thank you very much!

It is very helpful.

Regards,  
Samanth

--  
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/50996a49-48a3-4e1f-814a-08982f2a47a2%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/50996a49-48a3-4e1f-814a-08982f2a47a2%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:29am UTC](https://discuss.elastic.co/t/elasticsearch-index-creation-and-searching-on-japanese-data/22404/6 "2017-07-06T00:29:54Z")

</div>


