org.apache.solr.request

## Class DocValuesStats

- java.lang.Object
- - org.apache.solr.request.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.

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static StatsValues` | `getCounts(SolrIndexSearcher searcher, StatsField statsField, DocSet docs, String[] facet)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getCounts

          public static StatsValues getCounts(SolrIndexSearcher searcher,
                                              StatsField statsField,
                                              DocSet docs,
                                              String[] facet)
                                       throws IOException

      Throws:
        `IOException`

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.