Which way you recommend zend lucene search with php or lucene itself and port with php?

2.4k views Asked by At

We are in development of a classifieds website, which you might already know that we need a really good search engine. Filtering menu on the left side is a MUST in our project. Anyway, I am asking if we should use zend lucene or we should install lucene server ourselves and connect our search file with its api? I couldnt find any performance/benchmark comparison results and wanted to ask here. I would like to hear your opinions in terms of : limits, advantages,disadanteges ..

2

There are 2 answers

4
Jeff Busby On

In my experience Zend Lucene is good for small amounts of data, but slows down very quick as you add more data. I had to research a new alternative to zend lucene because it's performance just wasn't cutting it on my current project. To make a long story short, we went with Solr, which is built on Apache Lucene. Indexing of 70k + articles went from hours to minutes.

I should add that Sphinx came in a close second in my decision and would be worth a look.

2
nikhil500 On

I will suggest Solr - it will need minimal effort to install and has a PHP interface. It also has in-built support for faceting (the filters on the side) and is quite fast and scalable.