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

[Search] Minimum with exclusion

Discussion in 'Closed Suggestions' started by gordy, Aug 13, 2010.

  1. gordy

    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 :) )
     
  2. Mike

    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.
     
  3. gordy

    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 ;) )
     
  4. Mike

    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).
     
  5. ChrisR

    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.
     
  6. gordy

    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.
     

Share This Page