# Search a term in Japanese

**URL:** https://meta.discourse.org/t/search-a-term-in-japanese/97359
**Category:** Support
**Created:** [September 17, 2018, 1:58pm UTC](https://meta.discourse.org/t/search-a-term-in-japanese/97359 "2018-09-17T13:58:22Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![kaito](https://avatars.discourse-cdn.com/v4/letter/k/f08c70/32.png) [@kaito](https://meta.discourse.org/u/kaito)
#### Post date: [September 17, 2018, 1:58pm UTC](https://meta.discourse.org/t/search-a-term-in-japanese/97359/1 "2018-09-17T13:58:22Z")

</div>

It does not work.  
Any solution to the problem?

Thank you.

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [September 17, 2018, 2:21pm UTC](https://meta.discourse.org/t/search-a-term-in-japanese/97359/2 "2018-09-17T14:21:46Z")

</div>

Could you post a link to a post that should be found and the search term you are using?

---

<div class="post-metadata">

### Author: ![kaito](https://avatars.discourse-cdn.com/v4/letter/k/f08c70/32.png) [@kaito](https://meta.discourse.org/u/kaito)
#### Post date: [September 17, 2018, 2:58pm UTC](https://meta.discourse.org/t/search-a-term-in-japanese/97359/3 "2018-09-17T14:58:06Z")

</div>

Thank you for the reply.  
I mean,  
I am running own discourse on my server but I cant search in Japanese.

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [September 17, 2018, 3:31pm UTC](https://meta.discourse.org/t/search-a-term-in-japanese/97359/4 "2018-09-17T15:31:15Z")

</div>

It’s hard to know why you can’t search without an example. If it’s a public forum, please post a link to a topic and tell us the search term that isn’t working. If it’s a private forum, can you copy & paste the raw post in here and also tell us the search term?

Also, which version of Discourse are you running? And is the `default_locale` set to Japanese?

---

<div class="post-metadata">

### Author: ![kaito](https://avatars.discourse-cdn.com/v4/letter/k/f08c70/32.png) [@kaito](https://meta.discourse.org/u/kaito)
#### Post date: [September 18, 2018, 12:10am UTC](https://meta.discourse.org/t/search-a-term-in-japanese/97359/5 "2018-09-18T00:10:53Z")

</div>

It’s a private forum and all words I cannot search.  
Like “トークン” , “トークン設計”.

The version is latest, 2.2.0.beta2.  
And the default locale is Japanese.

---

<div class="post-metadata">

### Author: ![kaito](https://avatars.discourse-cdn.com/v4/letter/k/f08c70/32.png) [@kaito](https://meta.discourse.org/u/kaito)
#### Post date: [May 4, 2019, 4:53pm UTC](https://meta.discourse.org/t/search-a-term-in-japanese/97359/6 "2019-05-04T16:53:12Z")

</div>

Could you advice me if any updates on this topic?

This is our forum, the private one though.  
[https://token-lab.org/](https://token-lab.org/)

Thank you.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [May 4, 2019, 7:03pm UTC](https://meta.discourse.org/t/search-a-term-in-japanese/97359/7 "2019-05-04T19:03:34Z")

</div>

There isn’t anything inherent blocking the search of japanese characters, for example from your post above:

 ![01%20PM](https://global.discourse-cdn.com/meta/original/3X/6/d/6d92004acbf44f6a25ab2522b9d793ccee6173ad.png)

---

<div class="post-metadata">

### Author: ![uwe\_keim](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/uwe_keim/32/326762_2.png) [@uwe\_keim](https://meta.discourse.org/u/uwe_keim)
#### Post date: [May 4, 2019, 7:13pm UTC](https://meta.discourse.org/t/search-a-term-in-japanese/97359/8 "2019-05-04T19:13:22Z")

</div>

Yes, seems to work here:

[https://meta.discourse.org/search?q=%E3%83%88%E3%83%BC%E3%82%AF%E3%83%B3%E8%A8%AD%E8%A8%88](https://meta.discourse.org/search?q=%E3%83%88%E3%83%BC%E3%82%AF%E3%83%B3%E8%A8%AD%E8%A8%88)

---

<div class="post-metadata">

### Author: ![kaito](https://avatars.discourse-cdn.com/v4/letter/k/f08c70/32.png) [@kaito](https://meta.discourse.org/u/kaito)
#### Post date: [May 4, 2019, 11:00pm UTC](https://meta.discourse.org/t/search-a-term-in-japanese/97359/9 "2019-05-04T23:00:51Z")

</div>

Thank you, hmm it doesn’t work in our forum. Let me check.

---

<div class="post-metadata">

### Author: ![schleifer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schleifer/32/86416_2.png) [@schleifer](https://meta.discourse.org/u/schleifer)
#### Post date: [May 4, 2019, 11:19pm UTC](https://meta.discourse.org/t/search-a-term-in-japanese/97359/10 "2019-05-04T23:19:48Z")

</div>

Is the `search tokenize chinese japanese korean` site setting enabled?

Toggling that and rebuilding the search index may help.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [May 5, 2019, 12:26am UTC](https://meta.discourse.org/t/search-a-term-in-japanese/97359/11 "2019-05-05T00:26:12Z")

</div>

Does our first run setup wizard toggle this site setting when those languages are selected during initial setup? 🤔 I believe it does @sam?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [May 5, 2019, 12:35am UTC](https://meta.discourse.org/t/search-a-term-in-japanese/97359/12 "2019-05-05T00:35:10Z")

</div>

This is already default on if you are using CJK locales

---

<div class="post-metadata">

### Author: ![kaito](https://avatars.discourse-cdn.com/v4/letter/k/f08c70/32.png) [@kaito](https://meta.discourse.org/u/kaito)
#### Post date: [May 5, 2019, 12:36am UTC](https://meta.discourse.org/t/search-a-term-in-japanese/97359/13 "2019-05-05T00:36:28Z")

</div>

It was not enabled.  
A while ago I made it enabled, some Kanji work but kanatana like トークン still doesn’t get the result.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [May 5, 2019, 1:12am UTC](https://meta.discourse.org/t/search-a-term-in-japanese/97359/14 "2019-05-05T01:12:35Z")

</div>

You probably need to rebuild your index, if you edit a post with the kanatana does it start working?

---

<div class="post-metadata">

### Author: ![kaito](https://avatars.discourse-cdn.com/v4/letter/k/f08c70/32.png) [@kaito](https://meta.discourse.org/u/kaito)
#### Post date: [May 10, 2019, 1:58am UTC](https://meta.discourse.org/t/search-a-term-in-japanese/97359/15 "2019-05-10T01:58:31Z")

</div>

I rebuild the app but still the same.  
Is Index rebuild different from `./launch rebuild app`?

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [May 10, 2019, 2:12am UTC](https://meta.discourse.org/t/search-a-term-in-japanese/97359/16 "2019-05-10T02:12:07Z")

</div>

AFAIK you can reindex as follows:

```
cd /var/discourse
./launcher enter app
rake search:reindex

```

---

<div class="post-metadata">

### Author: ![kaito](https://avatars.discourse-cdn.com/v4/letter/k/f08c70/32.png) [@kaito](https://meta.discourse.org/u/kaito)
#### Post date: [May 25, 2019, 11:54pm UTC](https://meta.discourse.org/t/search-a-term-in-japanese/97359/17 "2019-05-25T23:54:59Z")

</div>

@Stephen  
Thank you! I stored backup just in case, and anything else should I do before the reindex?  
I don’t think there is any, but I should be careful.  
Would be appreciated if you could advise me.

---

<div class="post-metadata">

### Author: ![kaito](https://avatars.discourse-cdn.com/v4/letter/k/f08c70/32.png) [@kaito](https://meta.discourse.org/u/kaito)
#### Post date: [August 19, 2019, 5:08am UTC](https://meta.discourse.org/t/search-a-term-in-japanese/97359/18 "2019-08-19T05:08:11Z")

</div>

I just did this and found that we can search Kanji. But searching Katakana still does’t find words/topics. Any suggestions could I get?

---

<div class="post-metadata">

### Author: ![SSS](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@SSS](https://meta.discourse.org/u/SSS)
#### Post date: [July 9, 2020, 8:08am UTC](https://meta.discourse.org/t/search-a-term-in-japanese/97359/19 "2020-07-09T08:08:17Z")

</div>

This problem seems to be unresolved in Version 2.6. The search box used when customizing from English to Japanese is working properly. Even if you include katakana, hiragana, and kanji. Is the search engine different? Is it difficult to solve this problem?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [July 10, 2020, 2:16am UTC](https://meta.discourse.org/t/search-a-term-in-japanese/97359/20 "2020-07-10T02:16:27Z")

</div>

Can you include

1. A sample paragraph here in katakana

2. A sample search term that you have that is not working

3. Confirmation that your site locale is in Japanese or that `search tokenize chinese japanese korean` is enabled

[Next page](https://meta.discourse.org/t/search-a-term-in-japanese/97359.md?page=2)
