On Wed, Sep 2, 2015 at 2:44 PM, Toke Eskildsen <t...@statsbiblioteket.dk> wrote: > When incrementing counters for String faceting, segment ordinal -> index > ordinal mapping takes place. Legacy facets has a mechanism where temporary > segment-specific counters are used. These are updated directly with the > segment ordinals and the mapping to global ordinals is performed after the > counting.
Good point Toke, That optimization won't work when there's other things to calculate (or sort by), but I can detect the "counts-only" case and use it then. -Yonik