Hi,
I was wondering how to get 3 letter searches working?
I have added the line ft_min_word_len = 3 to the myconf.ini (I think it was) and MyPHP (Ver 5.6) is reporting min word length is set to 3, however when searching for a three letter word on PHPMYFAQ (ver 2.8.24), both the smart/instant search and advanced search doesn't find the correct articles for three letter words.
For example we have 2 articles (out of about 100) which has USB in the question, answer and as a keyword, however searching for USB doesn't find these articles. If I search for USB, it does find the 2 articles. I don't know if this due to the word length being increased to 4 characters by the comma.
Thanks for any help.
Stuart.
Three Letter Searches
Moderator: Thorsten
Re: Three Letter Searches
Hi,
strange behaviour as your changes are correct. You could enable the DEBUG mode in inc/Bootstrap.php and copy&paste the search queries directly in MySQL to do a deeper debugging what's wrong here.
For the instant search even searches with one or two letters should work as we have a fallback to use a LIKE query.
Cheers
Thorsten
strange behaviour as your changes are correct. You could enable the DEBUG mode in inc/Bootstrap.php and copy&paste the search queries directly in MySQL to do a deeper debugging what's wrong here.
For the instant search even searches with one or two letters should work as we have a fallback to use a LIKE query.
Cheers
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist