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 newcollectorto 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:CollectorCreate a newcollectorto collect the given context.- Specified by:
getLeafCollectorin interfaceCollector- Parameters:
context- next atomic reader context- Throws:
IOException
-
scoreMode
Description copied from interface:CollectorIndicates what features are required from the scorer.
-