Search a term in Japanese

It does not work.
Any solution to the problem?

Thank you.

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

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

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?

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.

Could you advice me if any updates on this topic?

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

Thank you.

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

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

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

Is the search tokenize chinese japanese korean site setting enabled?

Toggling that and rebuilding the search index may help.

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

This is already default on if you are using CJK locales

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

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

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

AFAIK you can reindex as follows:

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

@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.

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?

이 문제는 버전 2.6에서 여전히 해결되지 않은 것으로 보입니다. 영어에서 일본어로 커스터마이징할 때 사용되는 검색 상자는 카타카나, 히라가나, 한자를 포함하더라도 정상적으로 작동합니다. 검색 엔진이 다른 건가요? 이 문제를 해결하는 것이 어려운 건가요?

아래 내용을 포함해 주실 수 있나요?

  1. 가타카나로 작성된 예문 한 단락
  2. 작동하지 않는 검색어 한 가지
  3. 사이트 언어 설정이 일본어인지 또는 search tokenize chinese japanese korean이 활성화되어 있는지 확인