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

[Tip] Search for 3 letter words by wrapping with asterisks (ie. for bug use *bug*)

Discussion in 'General XenForo Discussion and Feedback' started by Digital Doctor, Aug 19, 2011.

  1. Digital Doctor

    Digital Doctor Well-Known Member

    I stumbled upon a method of searching for 3 letter words here at xenforo.com

    Forinstance if you try to search for:

    however ....

    works ! (demo)
    Hope that helps :)

    Update: I see Forsaken mentioned this tip as well :)

    famm10, Akela and DarkSign like this.
  2. Digital Doctor

    Digital Doctor Well-Known Member

    Other examples:

    To search for posts with the number 3 in the title:
    Search for: **3**

    To search for posts with CMS in the title:
    Search for: CMS*
  3. Digital Doctor

    Digital Doctor Well-Known Member

  4. Brett Peters

    Brett Peters Well-Known Member

    I must admit I have been using site:xenforo.com search term in google a bit lately.

    Cheers, I shall give this a try
  5. swatme

    swatme Well-Known Member

    i realized we can search the word "IP" in xenforo.com
    how was that possible if theres a 3 letter limit?
  6. Brogan

    Brogan XenForo Moderator Staff Member

    There's no minimum word limit on XenForo.com.
  7. swatme

    swatme Well-Known Member

    oh i see.
    whats the tradeoff of setting the min word length in my.cnf to zero?
    will the mysql load usage increase?
  8. digitalpoint

    digitalpoint Well-Known Member

    Well it would certainly take more resources (memory and disk space) on your server the lower you set the min word length to, but not remarkably so. Personally, I stick with 3 character minimum because I don't really find a lot of 2 letter words I need to search for, and there are a LOT of them ("is", "it", "an", etc.) that creates a pretty big index. But I'm also dealing with 17,000,000+ posts, (and a ton of other searchable content types... PMs, users, etc.)

    So in my case, the benefit of a 2 character minimum word length isn't greater than the resources required to maintain it, so I just forgo it.
    swatme likes this.

Share This Page