XF 1.3 Search For Numbers

lostincable

Active member
Just wondering if there is a way to configure Xenforo to allow searching for numbers?

I run a forum that has model numbers and numbers are used alot so my users are asking for it but searching for 14 or 14.44 does not work.

Any ideas?
 
Thanks @Brogan is there another way or is it just not possible with the default xenforo?

Elasticsearch etc seems a bit full on for my small site :)!
The limitation is with MySQL Full Text search, not Xenforo.

From Brogan's FAQ

http://xenforo.com/community/threads/frequently-asked-questions.5183/#post-180445

Why can't I search for words with 3 characters or less?
This is a limitation of the MySQL Full Text search function.Find more information on the MySQL site.
Note that with XenForo 1.1 and above, it is now possible to set the minimum word length in the ACP -> Options -> Search Options: Search Minimum Word Length; this value must correspond with the MySQL full text minimum word length in the my.cnf configuration file.


Why can't I search for certain words?
The MySQL search function has what are called stopwords, which are typically common words, and are excluded from searches. Find more information on the MySQL site.
Note that the XenForo Enhanced Search add-on, which is installed here on XenForo.com, does not suffer the same constraints as default MySQL search does with regards to minimum word length and stop words. The stopwords for elasticsearch are listed here.
 
Top Bottom