Topic: min word length with fulletext search (Read 719 times)
Global Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6236
38242 credits Members referred : 374
It's time to use PHP5!
« on: Oct 03, 2007, 11:28:16 PM »
Hi,
I need to use the full text search feature on some reseller machine. Now I need to lower the value for the minimun string length in searches:
from the manual:
Quote
The minimum and maximum lengths of words to be indexed are defined by the ft_min_word_len and ft_max_word_len system variables. (See Section 5.2.3, “System Variables”.) The default minimum value is four characters; the default maximum is version dependent. If you change either value, you must rebuild your FULLTEXT indexes. 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
what does they mean with "putting the following lines in an option file:"
I am not sure about this. Maybe only the root user has rights to play with these variables.
Have you contact your host?
yes I send them an email yesterday, I think they need to place an option file for one of my db users or I need to take a VPS (is a VPS good for fulltext searches in a table with 1.5mio records?)