NYCPHP Meetup

NYPHP.org

Search Engine

Stephen Tang webapprentice at onemain.com
Fri Apr 11 11:56:00 EDT 2003


Hi,
Speaking of the search techniques, I have a small client with a static shop-like website who wants search abilities for a CD catalog.  There is no database available, but PHP is operational.

Is there any PHP library or tool that would allow me to search the site without a database?  Some leads would be appreciated.

Thanks,
Stephen

-------Original Message-------
From: Chris Shiflett <shiflett at php.net>
Sent: 04/11/03 02:31 PM
To: NYPHP Talk <talk at nyphp.org>
Subject: Re: [nycphp-talk] Advanced Search Techniques

> 
> --- Mark Armendariz <nyphp at enobrev.com> wrote:
> They want to eventually have something they called "fingerprint"
> searching.  The term alone meant nothing to me (beyond the obvious -
> which google agreed with).
>  
> Basically it has something to do with using synonyms and misspellings
> and all types of other fun algorithms to find what a user is looking
> for.  Does anyone hear have any experience with such things, or maybe
> know where to look?

I'm not sure about synonyms, but support for misspelled words can
typically be
achieved with the Levenshtein algorithm, and PHP supports that:

<a target=_blank
href="http://www.php.net/manual/en/function.levenshtein.php">http://www.php.net/manual/en/function.levenshtein.php</a>

Hope that helps.

Chris


--- Unsubscribe at <a target=_blank
href="http://nyphp.org/list/">http://nyphp.org/list/</a> ---


> 



More information about the talk mailing list