Package org.apache.lucene.search
Class DocValuesStatsCollector
- java.lang.Object
-
- org.apache.lucene.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 LeafCollectorgetLeafCollector(LeafReaderContext context)Create a newcollectorto collect the given context.ScoreModescoreMode()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:CollectorCreate a newcollectorto collect the given context.- Specified by:
getLeafCollectorin interfaceCollector- Parameters:
context- next atomic reader context- Throws:
java.io.IOException
-
-