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 and concrete facet request, that
second phase can take markedly longer than the first phase, resulting in
quite a peculiar response time pattern:
https://twitter.com/anjacks0n/status/509284768035262464

> We already have this DocSet in the first phase but we currently don't
> cache DocSets for facets. 
> 
> Perhaps it's time to consider doing this.

> Anybody have any thoughts or objections?

For String faceting, where a counter structure is used, the overhead of
the second phase can be brought way down if the counter structure is
cached from the first phase: Resolving a term count is just a matter of
resolving its ordinal, then doing a lookup in the counter structure.
Unfortunately that does not work for Numerics.

- Toke Eskildsen, State and University Library, Denmark



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to