View Single Post
  #48  
Old 08-07-2007, 08:14 AM
  wjbrewer's Avatar 
wjbrewer wjbrewer is offline
Banned
 

X-Adept
  
Join Date: Feb 2005
Location: Pittsburgh, PA
Posts: 504
 

Default Re: Smart Search from alteredCart :: Spell Checking, Did You Mean? and More.

Quote:
Originally Posted by dbrooke
One of our customers has several products with 'rasp' in the title. The problem is xcart is bringing search results back with 'grasping' in the product title. The problem is 'grasping' is sometimes placed above 'rasp' in the results returned. Will this mod fix this?

Yes.

The default X-Cart search uses pattern matching and doesn't look at words. Basically if the combination of the letters 'rasp' is found anywhere it is a match (even if it is the middle of a word). The standard X-Cart search doesn't search by relevancy either, so the closest match is not at the top of the results.

The Smart Search uses a natural language search, sorting by relevance, and will NOT return 'grasping' if 'rasp' is search for. (Unless there are no matches for rasp, then a partial word match is used as a last resort).

Also, the products with the word 'rasp' in the title will be at the top of the results, followed by the products that include 'rasp' In the description and sorted by frequency (A product that has the word 'rasp' 5 times will be above a product that has the word 3 times.)
Reply With Quote