| 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. |
boolean |
needsScores()
Indicates if document scores are needed by this collector.
|
public DocValuesStatsCollector(DocValuesStats<?> stats)
stats.public LeafCollector getLeafCollector(LeafReaderContext context) throws java.io.IOException
Collectorcollector to collect the given context.getLeafCollector in interface Collectorcontext - next atomic reader contextjava.io.IOExceptionpublic boolean needsScores()
CollectorneedsScores in interface Collectortrue if scores are needed.Copyright © 2000–2025 The Apache Software Foundation. All rights reserved.