• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Search problem

#1
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.png
1502914444841.png


1502914402520.png
 

Mike

XenForo developer
Staff member
#8
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.
 
#9
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
 

Brogan

XenForo moderator
Staff member
#12
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.