ifacethoughts

Zend Brings Lucene To PHP

Apache Lucene can be said to be one of the strong applications that can draw you towards Java land. Either you choose Java for your work or you end up writing a Java layer to make use of that. There are many applications which are not very good at search, and it is mainly because efficient fulltext search engines are not easily available. And unfortunately the search functionality does not get enough priority to build one exclusively.

There were ports and wrappers allowed for other technologies like C with bindings for Ruby and Perl, .Net and Python, but nothing for PHP.

Now Lucene is available in the PHP land as well, brought by Zend Framework, and it is much better than other Lucene implementations. I think it is great that now PHP applications can build their own search engines using this. The caveat is that it is PHP 5 only, while most of the PHP applications have still not jumped the divide yet.

Otherwise this is going to increase weightage of PHP amongst the candidate programming languages. And I look forward to using it in future projects.

Discussion [Participate or Link]

  1. Rob Young said:

    Although Zend Search Lucene is a very cool project it doesn’t scale very well, with large amounts of data or large numbers of queries. If you’re going to be tackling a large project then you might want to look at something like Solr or Xapian.

  2. Aaron said:

    Phpdig is quite a decent little search engine entirely in PHP/MySQL. Its not well maintained though.

  3. Toto CE said:

    Zend lucene is for baby game. Really, it is not serious.

    I prefer to using java php bridge and call lucene from java directly

  4. Amit said:

    I think for small to medium scale projects in PHP one could use sphider. http://www.sphider.eu/
    Although i wouldn’t know how it compares to lucene, it is a pretty decent tool to have.

Say your thought!

If you want to use HTML you can use these tags: <a>, <em>, <strong>, <abbr>, <code>, <blockquote>. Closing the tags will be appreciated as this site uses valid XHTML.

freshthoughts

contactme

Abhijit Nadgouda
iface Consulting
India
+91 9819820312
My bookmarks

badgesand...

This is the weblog of Abhijit Nadgouda where he writes down his thoughts on software development and related topics. You are invited to subscribe to the feed to stay updated or check out more subscription options. Or you can choose to browse by one of the topics.