No announcement yet.

How to search for 3 characters ?

  • Filter
  • Time
  • Show
Clear All
new posts

  • How to search for 3 characters ?

    What do I need to do to enable a minimum character search of 3 characters?



  • #2
    That depends on your search type which is is set here:

    Admin CP -> vBulletin Options -> Search Type

    If you are using the default vB search option you can change the character length settings here:

    Admin CP -> vBulletin Options -> Message Searching Options -> Search Index Minimum Word Length and Search Index Maximum Word Length

    You will need to rebuild the search index after doing this.

    Note: Common words are not indexed. You can see which words these are in the includes/searchwords.php file.

    If you are running Fulltext search, the MySQL fulltext search has a 4 character minimum word length by default. This can only be changed on the server level. There are also a number of 'stopwords' that are considered common and not indexed.

    Here are the instructions for changing the default 4 character minimum in MySQL's full text search indexing:

    Here's the list of MySQL stopwords that will not be indexed:
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography

    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    • #3
      Thanks Steve, got it sorted.



      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.