Re: Main query runs in both phases of distributed search

2015-08-28 Thread Toke Eskildsen
On Thu, 2015-08-27 at 12:22 -0400, Joel Bernstein wrote: > I've been working on some performance tuning for Alfresco and found > that the main query is being executed in the first and second phase of > distributed search when there are facet refinements. > [...] Related: Depending on result size

Re: Main query runs in both phases of distributed search

2015-08-27 Thread Joel Bernstein
Sounds like a good plan to me. I'll open a ticket for this. Joel Bernstein http://joelsolr.blogspot.com/ On Thu, Aug 27, 2015 at 12:45 PM, Yonik Seeley wrote: > On Thu, Aug 27, 2015 at 12:22 PM, Joel Bernstein > wrote: > > > > I've been working on some performance tuning for Alfresco and found

Re: Main query runs in both phases of distributed search

2015-08-27 Thread Yonik Seeley
On Thu, Aug 27, 2015 at 12:22 PM, Joel Bernstein wrote: > > I've been working on some performance tuning for Alfresco and found that the > main query is being executed in the first and second phase of distributed > search when there are facet refinements. > > The code where this happens is in line

Main query runs in both phases of distributed search

2015-08-27 Thread Joel Bernstein
I've been working on some performance tuning for Alfresco and found that the main query is being executed in the first and second phase of distributed search when there are facet refinements. The code where this happens is in line 347 of the QueryComponent (trunk). This turns out be pretty expens