| Constructor and Description |
|---|
DocValuesStatsCollector(DocValuesStats<?> stats)
Creates a collector to compute statistics for a DocValues field using the given
stats. |
| Modifier and Type | Method and Description |
|---|---|
LeafCollector |
getLeafCollector(LeafReaderContext context)
Create a new
collector to collect the given context. |
ScoreMode |
scoreMode()
Indicates what features are required from the scorer.
|
public DocValuesStatsCollector(DocValuesStats<?> stats)
stats.public LeafCollector getLeafCollector(LeafReaderContext context) throws IOException
Collectorcollector to collect the given context.getLeafCollector in interface Collectorcontext - next atomic reader contextIOExceptionCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.