org.apache.solr.search.facet

Class SlotAcc

  • All Implemented Interfaces:
    Closeable, AutoCloseable


    public abstract class SlotAcc
    extends Object
    implements Closeable
    Accumulates statistics separated by a slot number. There is a separate statistic per slot. The slot is usually an ordinal into a set of values, e.g. tracking a count frequency per term. Sometimes there doesn't need to be a slot distinction, in which case there is just one nominal slot.