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

Speed Up Query to Solr

2012-10-05 Thread Sushil jain
Hi, I am using EmbeddedSolrServer to access indexed data. I have to query server around 250K with different query each time. I have already created queries. But every time querying solr takes time. As I am querying using threads and loop, but still it's not so fast. Is there any way to speed u