View Single Post
Old 10-13-2004, 11:33 AM   #1
indeh
Green Mole
 
Join Date: Oct 2004
Posts: 3
fuzzy search on product numbers

I have a need to perform somewhat fuzzy searches on product numbers. For example, if a page lists "4567-12215", I'd like to be able to have users find the page when searching for "4567 12215", "456-712215", or "456712215". Basically, non-alphanumeric non-whitespace characters have to be ignored as they may be used inconsistently by a user when searching.

Does PhpDig do anything like this out of the box? Would the "did you mean" feature support this kind of fuzzy matching (how well does the "did you mean" algorithm deal with oddly hyphenated/punctuated words)? I'm capable of adding such functionality myself if it doesn't exist, I'm just trying to gage how much effort I'd have to exert if I use PhpDig.

Thanks!
indeh is offline   Reply With Quote