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

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.

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.

Jeff, Sphinx is only text-based solution, in our project; we cant provide a search filter like : cars having "2 door" "4 door" option (multiple fields) thus, I am not using Sphinx. About Solr vs zend; in terms of "limits", actually in our website; there would be daily about max 10k daily data enterance (say classified advertisements) and about up to 1 billion unique view monthly. So we are focusing more of search, not the indexing time.(the indexing will be automated after a advertisement is entered so it is waived into 1 day, not minutes) – met.

In Mar 4 '11 at 2:15 So I am after about the numbers of the searching capacity intead of indexing capacity. – URL1 Mar 4 '11 at 2:19 1 Well if you're talking those kinds of numbers then do not use the Zend_Lucene solution. 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 Mar 4 '11 at 15:16 I agree with Jeff. To add to the conversation, in my opinion, Solr works best when you're not not bottlenecked by memory constraints.

At the end of the day, there's value in indexing your documents in Solr and then load testing the instance with common queries. – Brian Mansell Mar 30 '11 at 23:24.

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.

Because solr is on top of the lucene. I am really between zend lucene, lucene and solr and couldn't decide yet. – met.

In Mar 4 '11 at 2:21 Solr is built on top of Lucene (which is a library and not a search engine) - there is no direct comparison between the two. You will have to write code to use Lucene which will be very similar to the code that is already there in Solr. I will be very surprised if properly configured Solr is significantly slower than a custom implementation using Lucene.

I will recommend that you review the performance that others are getting from Solr and check if it meets your requirements. – nikhil500 Mar 4 '11 at 12:42.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions