Changing the minimum word length allowed for searching
When using the flexicontent search view, you may want to change the minimum search word length allowed.
Note that both FLEXIcontent and MySql pose a limit to this
- Set a minimum characters in the menu item pointing to search view
- Edit mysql.ini (or mysql.cnf, or my.ini) file and change variable "ft_min_word_len" to put a lower limit, e.g.:
# The MySQL server
you may want to ask your webhost support to do this for you,
[mysqld]
ft_min_word_len=2
there is little overhead in reducing this to a value of 3 or 2,
since the MySQL index will ignore the very common short words e.g. 'to' - run in phpmyadmin
REPAIR TABLE ppp_flexicontent_items_ext REPAIR TABLE ppp_flexicontent_advsearch_index
this will make the search indexes to recreated/updated