Package org.apache.lucene.misc.search
Class DocValuesStatsCollector
- java.lang.Object
-
- org.apache.lucene.misc.search.DocValuesStatsCollector
-
-
Field Summary
Fields Modifier and Type Field Description private DocValuesStats<?>
stats
-
Constructor Summary
Constructors Constructor Description DocValuesStatsCollector(DocValuesStats<?> stats)
Creates a collector to compute statistics for a DocValues field using the givenstats
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LeafCollector
getLeafCollector(LeafReaderContext context)
Create a newcollector
to collect the given context.ScoreMode
scoreMode()
Indicates what features are required from the scorer.
-
-
-
Field Detail
-
stats
private final DocValuesStats<?> stats
-
-
Constructor Detail
-
DocValuesStatsCollector
public DocValuesStatsCollector(DocValuesStats<?> stats)
Creates a collector to compute statistics for a DocValues field using the givenstats
.
-
-
Method Detail
-
getLeafCollector
public LeafCollector getLeafCollector(LeafReaderContext context) throws java.io.IOException
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:
java.io.IOException
-
-