Re: Search engine : build a new one or use an alreadry existing one ?
| From: | Curt Zirzow | Date: | Sun, 07 Nov 2004 23:57:59 +0000 |
| Subject: | Re: Search engine : build a new one or use an alreadry existing one ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201461@lists.php.net to get a copy of this message | ||
* Thus wrote robert mena:
> Hi,
>
> I need to improve my current "search mecanism" but got stuck in a
> dilema : build one or use an existing engine?
>
> My site, that uses php/smarty allows my users to browse products in a
> category listing or search. Currently my search only performs a
> 'select xxx from where field like ' and show the results.
>
> Even tough it works I'd like to improve it, showing the results by
> relevance, proper hadling mispelled words, performing the serach not
> only in the product's name etc.
If your using mysql, look at the match()/full text index
functionality it provides. This can be a usesfull feature.
Curt
--
Quoth the Raven, "Nevermore."