Bug #15350 | Fulltext search fails on some language specific characters | ||
---|---|---|---|
Submitted: | 30 Nov 2005 15:33 | Modified: | 13 Dec 2005 13:24 |
Reporter: | Vladimir Suvarina | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S1 (Critical) |
Version: | 4.1.14-log | OS: | Linux (Gentoo) |
Assigned to: | CPU Architecture: | Any |
[30 Nov 2005 15:33]
Vladimir Suvarina
[6 Dec 2005 12:16]
Valeriy Kravchuk
Thank you for a problem report. Looks like the real problem for you is not some language-specific characters (your fulltext index will not allow you to find 'abc', for example), but the default value of the ft_min_word_len server variable (4). Words with less than 4 characters are not included into your fulltext index. Please, include ft_min_word_len with the value 3 (or smaller) into you my.cnf fine, rebuild the fulltext index and try once more. Inform about the results. See http://dev.mysql.com/doc/refman/4.1/en/fulltext-fine-tuning.html for the details.
[13 Dec 2005 13:24]
Vladimir Suvarina
Stupid me! I had already set the ft_min_word_length variable and restart mysqld, before I posted the actual bug report, but I forget to rebuild the index :/ I'm very, VERY, sorry for your time.
[30 Aug 2007 11:19]
sonal fulkar
i am facing the same problem.. but in my case i have dropped existing index and rebuild them, still i am not able to perform full text search for less than four characters. to reproduce: i have set ft_min_word_length=1 restart the mysql server and rebuild the fulltext indexes for the table am i missing anything here?? my /etc/my.cnf reads as [mysqld] set-variable = max_connections=500 safe-show-database max_allowed_packet=2M ft_min_word_len=1 Thanks,