Skip to main content Help Control Panel

Login   A+   A-

Community «   Discussion forum «   Bug tracker «  

Searching less than 4 ?

avatarwessels, yanys e. -- on Jan. 22 2006, from La Rochelle / Charente-Maritime / France
yacs-team
Using the search function, it seems that it doesn't work at all !
I was looking for any occurences of the word "OVH", in the yacs articles.
Well, .... it gives nothing at all. Worth, it seems to totally ignore the request and nicely proposes the search panel... again.
I tried again with "IBM", "Doc", "PhP", and obtained the same result.
But, with "PhP4", "IBM.", "Docs", it works !
So, I presume that the search engine doesn't take arguments with less than 4 characters.
Can some one confirm this behavior ? Is it a bug or a feature ?
In that case, it would be nice to be able to search such "little" words like acronymes.
Bernard
avatar
from nearby-an-airport
Associate, 6581 posts

on Jan. 22 2006


This issue is related to MySQL default settings for full-text searching.

According to MySQL documentation on Fine-Tuning MySQL Full-Text Search
" For example, if you want three-character words to be searchable, you can set the ft_min_word_len variable by putting the following lines in an option file:

[mysqld]
ft_min_word_len=3

Then you must restart the server and rebuild your FULLTEXT indexes. "


To rebuild indexes you can visit the Control Panel, and select the Optimization link.

Rate this page
Posted by Lucrecius on Jan. 22 2006, (popular)