News Feed
Sections




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

Zend Developer Zone:
Implementing a Stemming Analyzer for Zend_Search_Lucene
October 22, 2008 @ 14:11:25

On the Zend Developer Zone today there's a new tutorial posted that shows how to use the Zend_Search_Lucene component of the Zend Framework to create a stemming analyzer.

The Zend implementation of Lucene provides a powerful tool set for those looking to implement a Google-like search for their PHP web application. One of the requirements in creating a Google-like search with Zend is the creation of a stemming, stop word filtering, lower-casing analyzer. This article will briefly discuss the basic role of an analyzer in the Lucene API, my implementation of a new "StandardAnalyzer" for the Zend_Search_Lucene component of the Zend Framework, the inner workings of this analyzer, and its basic usage.

It talks about the creation of an analyzer - a tool that splits out words, removes some of the most common and standardizes the contents (like making it all lowercase such as the StandardAnalyzer in Java's Lucene does). The author has come up with his own implementation in PHP and works through it, explaining how it works and where to put the data and language files it would need to pull from.

0 comments voice your opinion now!
implement tutorial zendsearchlucene analyzer java lucene


blog comments powered by Disqus

Similar Posts

PHPBuilder.com: Dynamic XML with PHP

Alan Knowles' Blog: Getting Started with HTML_FlexyFramework, DataObjects and HTML_Template_Flexy

AppStorm.net: Using PyroCMS to Manage Content With Simplicity

Zend Developer Zone: Getting started with CouchDB : meet PHP on Couch

Zend Developer Zone: Quick Start Symfony DI (Dependency Injection) Tutorial


Community Events





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


api extension composer laravel list unittest interview configure release version language voicesoftheelephpant community conference podcast install symfony introduction series opinion

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