This sounds like an "XY" problem, see: http://people.apache.org/~hossman/#xyproblem
What is the higher-level task you're trying to accomplish? Some things that do jump out though. 1> looping is almost always a sub-optimal solution. That's why I'm asking about what the higher-level task is. 2> 500 rows for 10 queries returns 5,000 rows. This seems of little value, try reducing the rows to something more manageable, like 10 (or even 5). 3> if you're trying to get counts for those ranges, consider faceting. Best Erick On Sat, Dec 25, 2010 at 9:21 AM, saureen <saureen_ad...@yahoo.co.in> wrote: > > I am using the fq parameter in my solr query for getting the results based > on > a date range.so lets say i am searching for a term "iphone" and i want to > get results from '2010-12-01' to '2010-12-25' ,so fq sets my start date and > end date,i am doin this in a loop for different time frames and for same > search keyword.The loop runs 10 to 12 times, > i.e > q='iphone' > fq = date:[2010-12-01T00:00:00Z TO 2010-12-25T00:00:00Z] > rows=500 > > This is taking a long time to process also i am using the sharding based on > the time range. > > Suggest possible steps to optimize the solr search for above scenario. > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Increase-Search-Speed-for-multiple-solr-request-for-different-time-range-query-tp2144426p2144426.html > Sent from the Solr - User mailing list archive at Nabble.com. >