Quote:
Originally Posted by Truly
Now I have it set both terms to uppercase and I tried %LIKE% but there must be a more effective way. Like how to most big sites search through databases, or even the webmaster-talk forums (im assuming VBulletin). On the php forums they suggested using phonetics but Im just thinking that there must be something else out there.
|
Other than near misses ... near vs neer ... what's wrong with the like operator?
It's really a very large topic, how to build a spell check into a search function, try to pull semantic meaning out of the search phrase and the documents in the database, or to try and 'teach' or code a phonetic read. That's probably why you haven't found anything all that helpful ... I don't think you'll find anything concrete, just a few disparate theories to put together.
One thing Google does is, unless you use quotes around a search, break your phrase up into individual words. Search for rabbit food; the #1 result uses both words, but not together.
Most search engines - Endecca, FAST, etc - use a technique called stemming. The word ran could match run, but not er rand. Walk could be walking, walker, walks, and so on.
Then you've got abbreviations, which are usually domain specific. A financial search is more likely to match CO to company than Colorado, for example.
|