Hi Yonik, What do you mean by the "counts-only" case?
Regards, Edwin On 3 September 2015 at 21:17, Yonik Seeley <[email protected]> wrote: > On Wed, Sep 2, 2015 at 2:44 PM, Toke Eskildsen <[email protected]> > 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 >
