1779 Posts in 582 Topics by 556 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 761 Views |
-
[Solved] SearchForm doesn't always work.

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? :?
-
Re: [Solved] SearchForm doesn't always work.

3 April 2011 at 7:52am Last edited: 3 April 2011 8:45am
*bump*
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
-
Re: [Solved] SearchForm doesn't always work.

3 April 2011 at 6:02pm
Ok, sorted.
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.
| 761 Views | ||
|
Page:
1
|
Go to Top |

