Class DocValuesStats


  • public class DocValuesStats
    extends Object
    Computes term stats for docvalues field (single or multivalued).

    Instead of working on a top-level reader view (binary-search per docid), it collects per-segment, but maps ordinals to global ordinal space using MultiDocValues' OrdinalMap.