[Search] Minimum with exclusion

gordy

Well-known member
Many of us have technical/hobby forums where some of our jargon is a three letter term or acronym, can the search be set to exclude a list of admin defined terms?

(Posted with android :) )
 

Mike

XenForo developer
Staff member
Wait, do you want inclusion or exclusion? Regardless, neither option is supported - it's all handled by MySQL's full text engine.
 

gordy

Well-known member
ft_min_word_len ?
Exclusion, such as:
Limit N characters in search, except for abc, xyz
(Just throwing it out there ;) )
 

Mike

XenForo developer
Staff member
Your example confused me, as you referenced acronyms and that'd be something that you want index (regardless of word length, though that's not possible MySQL FT).
 

ChrisR

Active member
The way i would see as a banifit if it was an option for inclusion. for eg: inclusion words are, php bbc. so you can search for them words.

also maybe have an option so when you search, php coding. It will search for php coding and not just coding.
 

gordy

Well-known member
Ah, I can see how that's confusing, I was thinking grep-like : grep -v <string> file (inverse match)

It will index all three char strings but the actual search query would inverse on an array of defined terms.
 
Top