Can you share a sample query ? Ensure you have filterquery, fl fields and query result cache settings well tuned
To give you an example: A month ago I had an issue where a few of our queries were taking 3+seconds with 5 shards and as I added more shards the query was taking even longer. I figured that the root cause was a poorly written query (improper use of q and failure to use Fq for filtering fields). That brought down latencies to sub 200 ms. More sharding is usually better performant (atleast with respect to my experience so far) and merge/fetch time has been negligible compared to search time (especially if the search doesnt use filters and caches) To help you more I need sample queries On Sun, Mar 16, 2014 at 7:31 AM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > On Thu, Mar 13, 2014 at 1:49 PM, remi tassing <tassingr...@gmail.com> > wrote: > > > > I've used the fl=id parameter to avoid retrieving the actual documents > > (step <4> in your mail) but the problem still exists. > > Any ideas on how to find the merging time(step <3>)? > > Actually that doesn't skip steps #4 and #5. That optimization will be > available in Solr 4.8 (the next release). See > https://issues.apache.org/jira/browse/SOLR-1880 > > -- > Regards, > Shalin Shekhar Mangar. > -- Best -- C