Package org.apache.solr.request
Class DocValuesStats
java.lang.Object
org.apache.solr.request.DocValuesStats
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
Modifier and TypeMethodDescriptionstatic StatsValuesgetCounts(SolrIndexSearcher searcher, StatsField statsField, DocSet docs, String[] facet)
-
Method Details
-
getCounts
public static StatsValues getCounts(SolrIndexSearcher searcher, StatsField statsField, DocSet docs, String[] facet) throws IOException - Throws:
IOException
-