I search chiese words 安全 in search tools, because the word is in the middle of the centence , so I can search nothing. Is it a bug ?
I believe there was a discussion regarding how PostgreSQL (the database used by Discourse) cannot build full-text search index for CJK languages.
There are a few things required for turning on CJK support:
Turn on the CJK tokenizer
a. Default locale =
false) to force tokenization of CJK if default locale is not Chinese.
min_search_term_lengthset to 1 (because the CJK tokenizer doesn’t recognize a lot of word combos and turns them all to single characters)
Rebuild the full-text index – the index won’t be changed when you set the above, and any old posts will not be indexed properly:
- Bob’s your uncle!
This is my setting
I will try like you said, thank you !