News Feed
Jobs Feed
Sections




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

Juozas Kaziukenas' Blog:
Starting with Zend_Search_Lucene
March 12, 2009 @ 12:09:56

Juozas Kaziukenas has a recent post to his blog introducing one of the many useful components of the Zend Framework - Zend_Search_Lucene.

As websites grows, searches like "LIKE title '%search term%'" becomes unreliable. There are very good solutions like Sphinx, Lucene, etc, but not surprisingly, you can't always have Sphinx installed (shared servers again) and other solutions should be chosen. [...] How you start indexing data? Zend manual has very good examples how to start with Lucene.

He includes some basic code to create an index for your data (his example pulls information from a database) and how to search that data for a string ('title:"Apple MacBook"' in his case, searching specifically on the title field in his index).

0 comments voice your opinion now!
zendframework zendsearchlucene tutorial create index search database


blog comments powered by Disqus

Similar Posts

IBM developerWorks: Cook up Web sites fast w/CakePHP, Part 1: Adding related information & services

PHPMaster.com: Proc_Open: Communicate with the Outside World

Gonzalo Ayuso: Combining Zend Framework2 and Symfony2 components with Composer to build PHP projects

Web & PHP Magazine: Issue #11 - Climate Change

C7Y: Reflections on Designing an IRC Bot in PHP, Part 1


Community Events











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


package hhvm component hack code performance podcast introduction security symfony2 language application unittest composer facebook database threedevsandamaybe release install framework

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