private static class TopScoreDocCollector.SimpleTopScoreDocCollector extends TopScoreDocCollector
TopScoreDocCollector.ScorerLeafCollectordocBase, hitsThresholdChecker, minCompetitiveScore, minScoreAcc, pqTopEMPTY_TOPDOCS, pq, totalHits, totalHitsRelation| Constructor and Description |
|---|
SimpleTopScoreDocCollector(int numHits,
HitsThresholdChecker hitsThresholdChecker,
MaxScoreAccumulator minScoreAcc) |
| Modifier and Type | Method and Description |
|---|---|
LeafCollector |
getLeafCollector(LeafReaderContext context)
Create a new
collector to collect the given context. |
create, create, create, createSharedManager, newTopDocs, scoreMode, updateGlobalMinCompetitiveScore, updateMinCompetitiveScoregetTotalHits, populateResults, topDocs, topDocs, topDocs, topDocsSizeSimpleTopScoreDocCollector(int numHits,
HitsThresholdChecker hitsThresholdChecker,
MaxScoreAccumulator minScoreAcc)
public LeafCollector getLeafCollector(LeafReaderContext context) throws java.io.IOException
Collectorcollector to collect the given context.context - next atomic reader contextjava.io.IOException