View Single Post
  #129  
Old 20 Dec 2004, 18:53
edin edin is offline
 
Join Date: Dec 2001
Originally Posted by Parker Clack
edin:

The example that you have from above is the limit on the search user. To set the limit on size of the words for the rest of the search you will need to set the var in my.cnf to

set-variable=ft_min_word_len=3

More info is at : http://www.mysql.com/doc/en/Fulltext_Fine-tuning.html

Parker
Hi Parker,

Thanks for your reply. We have already set the limit to four words in my.cnf, however if a user search for a string with three words he gets the error message "Sorry - no matches". Instead I would like to have the message "Sorry - search for at least four words"... for example.

The limit on the search user or the "error_searchnametooshort" does not work for us.

You can try it out here: http://forum.sweclockers.com/search.php. It's in Swedish, but the layout is the same.
Reply With Quote