Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/archive/global.php(40) : eval()'d code on line 2
How To: Work around the minimum character limit for searches [Archive] - Garage208

PDA

View Full Version : How To: Work around the minimum character limit for searches


spastik
01-07-2009, 09:10 AM
Ok, I know this is a problem for everyone. It isnt to do with vBulletin, its with mySQL. The reason behind it is that if multiple people search, it requires so much processing power to go thru the database the query up results. Have a 3 or less limit *COULD* crash the server. That is why this problem occurs.

There is a workaround for it....

If you use the forum search to look for occurrences of CAR you will receive the following error message:

Code:
The search term you specified (CAR) is under the minimum word length (4) and therefore will not be found.
Please make this term longer.

If this term contains a wildcard, please make this term more specific.
This is because CAR contains only 3 characters and is therefore shorter than the allowable lower character limit for searches.

If you search for *CAR* you will see that the search will return threads where the letters CAR appear in isolation.

There is a limitation in this work around, in that the * character is a search wildcard. This means that if you search for *ear* you will also be presented with threads where the letters ear appear as part of another word (fear, search, dissapear, etc).

This search technique is therefore best used for 3 letter abbreviations, or short words, that are not commonly found as parts of other words. You might want to pause for a second before searching in this way, and consider what other words the search might return - sometimes you may find this technique less helpful than other search techniques (using the Google search for example) due to the reasons described above.I hope this will help everyone out.

InSepsis
01-07-2009, 09:34 AM
Thanks for putting this up brian... one day you will be a great lover.