...

View Full Version : changing the minimum number of characters in full text search



student
03-23-2007, 01:19 PM
hello,
the default number of characters in full text search is 4.
I would like to reduce it to 3
I have searched some sites over the internet and read that I have to edit the my.cnf file in "/etc" folder

I have checked the files in that folder and there is no such file.
so I have created a file called my.cnf and placed this code in it.

[mysqld]
ft_min_word_len=3

then, I have deleted the old index and created the index again.

Now when I search again for 3 character words, it is not displaying results with those words.

Please inform me if I have done any mistake and tell me how to correct it.

Thank you.

maghiel
03-27-2007, 01:29 PM
maybe your config file is located elsewhere?

try:


find . -name my.cnf

student
03-28-2007, 05:24 PM
Hello maghiel,
thank you for your reply.
I am using shared hosting.
I don't know where to search for this file and how.
Thanks



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum