Re: Speed Up Query to Solr

2012-10-05 Thread Erick Erickson
But look what you're asking Solr to do. 250K queries. Let's say you get 100 QPS, which for a single box isn't bad. That's still 2,500 seconds, roughly 40 minutes. But you still haven't told us what QPS you're seeing. Or what you need to see. Or what kind of results you need from your queries. Perh

Re: Speed Up Query to Solr

2012-10-05 Thread Sushil jain
Thank you Erick for your quick response. Yes, you are right about my problem. and indexes are on same machine and yes I am using single machine I am using EmbeddedSolrServer class of SolrJ which removes HTTP layer. But still it takes time. On Fri, Oct 5, 2012 at 10:19 PM, Erick Erickson wrote:

Re: Speed Up Query to Solr

2012-10-05 Thread Erick Erickson
Here's a reference, much of it is at the Lucene layer, but it might be helpful. http://wiki.apache.org/lucene-java/ImproveSearchingSpeed If I'm reading this right, you want to get through 250K queries. What kind of throughput are you seeing? What is your target speed? I suspect you're going to b