Re: Searching on AlphaNumeric Content Only

From: Date: Thu, 03 Sep 2009 21:05:30 +0000
Subject: Re: Searching on AlphaNumeric Content Only
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.general 
Request: Send a blank email to php-general+get-297661@lists.php.net to get a copy of this message
> > stripping, stemming, spelling corrections ? >  ... uhm, that's probably why they invented regular expressions, isn't it? > > As I said, at the end of the day, this will be a manual slow, potentially wrong implementation > of what we already have and use on daily basis. If you've got a regular-expression-based method in mind that simply nails the OP's problem, please share. I'm still not seeing how "regular expressions" is a sufficient answer to the OP's problem, which is basically fuzzy search. My sense is that regular expressions are for situations where you basically know just what you're searching for, but don't really know where it falls in your search space. The OP, on the other hand, is building a system where he won't know just what he's searching for -- all he'll know is that his search key is "sort of like" the thing he actually needs to find. You might be able to squeeze this problem, or at least some part of it, into a regex-based solution, but I don't think it's a natural fit. Ben

« previous php.general (#297661) next »