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

PHPBuilder.com:
Using Zend_Search_Lucene, the PHP Lucene Implementation
Jul 07, 2011 @ 17:43:32

On PHPBuilder.com today there's a new tutorial from Jason Gilmore about using the Zend_Search_Lucene component of the Zend Framework to index and search your data.

In this article I'll show you how to undertake the former approach using PHP's most prominent Lucene implementation, which also happens to be part of the Zend Framework: the Zend_Search_Lucene component.

After briefly introducing the Zend_Search_Lucene component he gets to a practical use - being able to search through submitted information on any and all fields quickly. He includes the code to insert the information into the Lucene data and how to search and retrieve it back out the other side. He also includes a brief example of indexing on a certain field to make it even faster.

tagged: zendsearchlucene lucene zendframework tutorial

Link:


Trending Topics: