News Feed
Sections




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

phpRiot.com:
Creating a fulltext search engine with the Zend Framework's Zend_Search_Lucene
April 27, 2006 @ 07:10:20

phpRiot has posted an interesting new tutorial today that uses a framework that's become quite popular lately - the Zend Framework - and how to use it's Zend_Search_Lucene module to create a fulltext search engine.

This article covers the implementation of a fulltext search engine using PHP 5 and the Zend Framework. We will be using the Zend_Search_Lucene component to create and search our fulltext index.

To demonstrate this functionality, we will cover the implementation of a search engine into phpRiot. We previously used the Tsearch2 module but had some problems that we were unable to overcome.

They begin by explaining how a fulltext search works, via a combination of the indexing and the querys made. From there, they dive right in, grabbing the latest copy of the Framework and showing (briefly) how to configure it. They then set up the structure of the index you'll need to make it all work, and give you the complete code to fill it with data. And, of course, a data store is no good without a way to query it, so they give a basic example of doing just that.

They cap it all off with code that creates a basic search engine, builing on all of the previous code from the article

0 comments voice your opinion now!
search engine zend framework zend_search_lucene search engine zend framework zend_search_lucene


blog comments powered by Disqus

Similar Posts

Mark Story's Blog: CakePHP and PHPUnit

Andi Gutmans\' Blog: Zend Framework surpassed the .NET Framework!

Zend Developer Zone: Zend Framework, JSON, and Del.icio.us

PowerHomeBix.com: Why PHP in the web applications?

SitePoint PHP Blog: Zend_Filter Reviewed, Blacklist / Whitelist Filters


Community Events





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


opinion security language tool composer list artisanfiles symfony interview podcast version conference laravel voicesoftheelephpant framework library series community release introduction

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