Quentin Zervaas have an interesting article about Creating a fulltext search engine in PHP 5 with the Zend Framework’s Zend_Search_Lucene. Certainly many are interesting to use the new Zend Framework and explore its new features, so it’s good to have such articles to explore more this new framework. Also search solutions for the web have been subject of many discussion before especially concerning their performance, Zend_Search_Lucene is an excellent alternative provided by the new Zend Framework offering full text index and powerful queries architecture.

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.
There are several other libraries we could use instead of this one, but Zend_Search_Lucene is completely native to PHP, whereas others such as Xapian or Tsearch2 rely on third party modules (for instance, the Tsearch2 module must be compiled into your PostgreSQL installation).