private static class TopScoreDocCollector.SimpleTopScoreDocCollector extends TopScoreDocCollector
TopScoreDocCollector.ScorerLeafCollector
pqTop, totalHitsThreshold
EMPTY_TOPDOCS, pq, totalHits, totalHitsRelation
Constructor and Description |
---|
SimpleTopScoreDocCollector(int numHits,
int totalHitsThreshold) |
Modifier and Type | Method and Description |
---|---|
LeafCollector |
getLeafCollector(LeafReaderContext context)
Create a new
collector to collect the given context. |
create, create, newTopDocs, scoreMode, updateMinCompetitiveScore
getTotalHits, populateResults, topDocs, topDocs, topDocs, topDocsSize
SimpleTopScoreDocCollector(int numHits, int totalHitsThreshold)
public LeafCollector getLeafCollector(LeafReaderContext context) throws java.io.IOException
Collector
collector
to collect the given context.context
- next atomic reader contextjava.io.IOException