Comparison between Solr and Zend Lucene - March 19, 2012

compared with
Current by Md Abdus Salam
on Mar 20, 2012 08:42.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (4)

View Page History



* 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|http://lucene.apache.org/solr/], which is built on Apache Lucene. Indexing of 70k + articles went from hours to minutes.
* We went from 9 - 10 seconds waiting for search results with Zend_Lucene down to to milliseconds with Solr. And that was for 70k records. \-- [Jeff Busby|http://stackoverflow.com/users/140413/jeff-busby] [Mar 4 '11 at 15:16|http://stackoverflow.com/questions/5159892/which-way-you-recommend-zend-lucene-search-with-php-or-lucene-itself-and-port-wi#comment5839678_5161099]\\



* [Zend Lucene|http://framework.zend.com/manual/en/zend.search.lucene.html] _and Java Lucene are built in PHP and java repectively, and PHP language has a higher level than java. Just wondering how big the performance difference among these two, regarding to index building and data searching? Is it much more effective to let java create and rebuild index, and let php use the index?_




After my adventures with Zend-Lucene-Search, and discovering it isn't all its cracked up to be when indexing large datasets, I've turned to Solr (thanks to Bill Karwin for that \:) )




h6. Recommendation: Don’t use Zend PHP Lucene\!