Package org.apache.lucene.misc.search
Class DocValuesStatsCollector
java.lang.Object
org.apache.lucene.misc.search.DocValuesStatsCollector
- All Implemented Interfaces:
Collector
A
Collector
which computes statistics for a DocValues field.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDocValuesStatsCollector
(DocValuesStats<?> stats) Creates a collector to compute statistics for a DocValues field using the givenstats
. -
Method Summary
Modifier and TypeMethodDescriptiongetLeafCollector
(LeafReaderContext context) Create a newcollector
to collect the given context.Indicates what features are required from the scorer.
-
Field Details
-
stats
-
-
Constructor Details
-
DocValuesStatsCollector
Creates a collector to compute statistics for a DocValues field using the givenstats
.
-
-
Method Details
-
getLeafCollector
Description copied from interface:Collector
Create a newcollector
to collect the given context.- Specified by:
getLeafCollector
in interfaceCollector
- Parameters:
context
- next atomic reader context- Throws:
IOException
-
scoreMode
Description copied from interface:Collector
Indicates what features are required from the scorer.
-