News Feed

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

Roll Your Own Search Engine with Zend_Search_Lucene
March 30, 2006 @ 08:23:29

With the Zend Framework making such a splash in the PHP community, people can't seem to get enough tutorials and information surrounding it. So, in an effort to feed that need, Zend has published this new tutorial covering the Zend_Search_Lucene package.

One of the features that sets the Zend Framework apart from the others is the inclusion of a decent search module. Zend_Search_Lucene is a php port of the Apache Lucene project, a full-text search engine framework. Zend_Search_Lucene promises a simple way to add search functionality to an application without requiring additional php extensions or even a database.

Zend_Search_Lucene overcomes the usual limitations of relational databases with features such as fast indexing, ranked result sets, a powerful but simple query syntax, and the ability to index multiple fields. Better still, a Zend_Search_Lucene index can live happily alongside your relational database to provide fast searching but without duplicating the effort of storing all of your data twice. In this tutorial, I'll show you how to use Zend_Search_Lucene to index and search some RSS feeds.

Mostly due to the simplicity of Zend's Framework setup, the tutorial isn't too long. It looks at the creation of the index (with a sample of fetching RSS feeds) and how to use this index to search their contents. There's even an outline of what kind of data can be associated with what kinds of fields.

[digg it]

0 comments voice your opinion now!
zend search zend_search_lucene text rss example tutorial zend search zend_search_lucene text rss example tutorial

blog comments powered by Disqus

Similar Posts

Alexey Zakhlestin's Blog: YAML: Syck for PHP is not read-only anymore

Zend Developer Zone: Zend_Acl and MVC Integration Part II (Advanced Use)

Terry Chay's Blog: The Starship Zend-erprise

Systems Architect:API-based Web Application with Backbone, Require.js and Slim framework

Content with Style: Custom Zend Form Image Upload Element

Community Events

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

version library community laravel series podcast laravel5 opinion api php7 introduction extension example release list security language framework voicesoftheelephpant interview

All content copyright, 2015 :: - Powered by the Solar PHP Framework