2002 Posts in 1422 Topics by 616 members
|Go to End|
1 April 2011 at 3:35pm
Having an odd problem.
A customer has a site with a SearchForm. The search finds pages containing the word "tax" but cannot find the words "GST" and "FBT", which are on the same page.
I'm totally stumped.
Why is this happening and, more importantly, how do I fix it? :?
3 April 2011 at 7:52am Last edited: 3 April 2011 8:45am
I have tried creating a page that contains the words "FBT GST blah blah blah Hutt" and the SearchForm finds "blah" and "Hutt" but it doesn't find "FBT" or GST".
Any ideas? Anyone? I am having the same problem with SS 2.4.3 and 2.4.5
3 April 2011 at 6:02pm
There's a MySQL parameter called ft_min_word_len that defines the smallest word it on which the database will do a full text search.
I edited /etc/mysql/my.cnf adding the line
set-variable = ft_min_word_len=3
retarted the MySQL service and now it finds "GST" and "FBT" without problems.
|Go to Top|