News Feed
Sections




News Archive
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 @ 08: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.

0 comments voice your opinion now!
boost term result search lucene zendframework zendsearch boost term result search lucene zendframework zendsearch


blog comments powered by Disqus

Similar Posts

Lorna Mitchell: Twitter Search API Using PHP and Guzzle

Zend Developer Zone: Deleting indexes from Zend_Registry and why you shouldn't do it !

Lorenzo Alberton's Blog: Zend Framework, mod_rewrite and public dir in shared hosting

Zend Developer Zone: Zend Webinar Wednesdays: Zend Framework 1.0 - An Overview

Chris Renner's Blog: Gerrymandered Code: Extending Zend_Registry to globalize session vars


Community Events





Don't see your event here?
Let us know!


security release opinion interview framework symfony update application series laravel language voicesoftheelephpant composer package introduction community tool podcast version library

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework