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

Michael Kimsal: Purpose of Benchmarking Framework Speed

Symfony Blog: New in Symfony 2.3: Small things matter

Debuggable Blog: XPath on PHP Arrays (Set::extract)

Symfony Blog: symfony Events

Lingohub.com: Internationalization How To for the 5 most popular PHP frameworks


Community Events

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


configure framework part2 conference application introduction php7 performance laravel voicesoftheelephpant api language example series symfony2 podcast interview community release opinion

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