A few topics in the forum talked about the chinese search problem, and a simple
test on my local installation showed i had the same problem. So I decided to tackle this problem. Surprisingly it turns out it's supported already!!!
My environment:
Windows XP SP2
Postgres 8.1 on local machine, UTF-8 DB creation
There're two
word matching modes in jforum,"equal" and "like", "equal" means you search for a word, while "like" search for a series of characters. When generating SQL, "equals" -> = while "like"-> like
So, the cause is quite clear, you need to change the mode to "like" since default is "equal", simply add the following line to jforum-custom.conf. Or change in SystemGlobals.properties.
search.word.matching = like
In fact, if you don't change the mode, search for partial english word also doesn't return anything.
Roy
[originally posted on jforum.net by luorihui]