XF 1.5 Search problem

daniel-bios

Member
Licensed customer
Hello

When i search for something
example hp 541 bios i find it

but when i search for hp 541 i dont find anything
and when search for 541
i dont find anything

How to solve this ?

1502914557056.webp
1502914444841.webp


1502914402520.webp
 
Based on the results in the screenshot, the search is just returning results for "bios". It certainly looks like your MySQL server has its minimum word length set to 4. If you decrease the option within XF but don't change the MySQL setting, you will mostly just get words being silently ignored from your search. Out of the box (4 in XF settings and MySQL), there would be a message that indicates that "hp" and "541" were not included in your search.
 
I change the
my.cnf to
ft_min_word_len = 3

and search minimum word length from 4 to 3

and again when search for hp 541
i dont find anything

is the same when search for mbx-149
 
I receive this message when searching for that string:
The search could not be completed because the search keywords were too short, too long, or too common.

So either the min word length is too long or the content isn't searchable for one of the other reasons listed.
 
Back
Top Bottom