Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Dave Dash's Blog:
Boosting terms in Zend Search Lucene
May 30, 2007 @ 13:49:00

On the SpinDrop blog today, Dave Dash continues his look at the Lucene search engine for the Zend Framework with this new post showing how to boost certain terms' relevance in the search results.

Lucene supports boosting or weighting terms. For example, if I search for members of a web site, and I type in Dash, I want people with the name Dash to take precedence over somebody who has a hobby of running the 50-yard Dash.

He shows how to, with the help of a few simple lines of PHP code added to your application, you can easily boost terms based on field by whatever multiplier you choose.

tagged: boost term result search lucene zendframework zendsearch boost term result search lucene zendframework zendsearch

Link:


Trending Topics: