Package 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 Description static StatsValues
getCounts(SolrIndexSearcher searcher, StatsField statsField, DocSet docs, String[] facet)
-
-
-
Method Detail
-
getCounts
public static StatsValues getCounts(SolrIndexSearcher searcher, StatsField statsField, DocSet docs, String[] facet) throws IOException
- Throws:
IOException
-
-