# Search a term in Japanese

**URL:** <https://meta.discourse.org/t/search-a-term-in-japanese/97359>\
**Category:** Product Support\
**Created:** [17 september 2018 om 13:58 UTC](https://meta.discourse.org/t/search-a-term-in-japanese/97359 "2018-09-17T13:58:22Z")\
**Posts on this page:** 1\
**Showing post:** 26

<div class="post-metadata">

**Author:** ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)\
**Post date:** [24 augustus 2020 om 09:01 UTC](https://meta.discourse.org/t/search-a-term-in-japanese/97359/26 "2020-08-24T09:01:13Z")

</div>

I can repro this and it is mainly due to a combination of

> <https://github.com/discourse/discourse/blob/e8a842ab8cbbabe92fe33cfc4bbe5f839d4543e9/lib/search.rb#L66-L69>

and

> <https://github.com/discourse/discourse/blob/e8a842ab8cbbabe92fe33cfc4bbe5f839d4543e9/lib/search.rb#L242-L243>

The term `テスト` is converted to `テ ス ト` after going through `CppjiebaRb` and this trips the min\_search\_length protector we have.

@sam This is tricky to fix because we need a proper tokenizer for Japanese to resolve search issues like this for good. We can do tweaks here and there but it is going to be a game of wack a mole.

---

_[View the full topic](https://meta.discourse.org/t/search-a-term-in-japanese/97359)._
