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 <erickerick...@gmail.com>wrote: > 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 be kind of stuck if you require this to > be on a single machine. If you want to get through this many > queries as fast as possible, you're probably talking about > putting Solr on a bunch of machines, fronting them with a > load balancer, and having your client fire off these multiple > threads to the load balancer. Essentially pretending you're > a public site and want to increase capacity, the same > strategies apply. > > Best > Erick > > On Fri, Oct 5, 2012 at 12:33 PM, Sushil jain <jain.ayushm...@gmail.com> > wrote: > > 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 up this operations ? > > > > > > Thanks & Regards, > > Sushil Jain >