private static class TopScoreDocCollector.SimpleTopScoreDocCollector extends TopScoreDocCollector
TopScoreDocCollector.ScorerLeafCollectorpqTopEMPTY_TOPDOCS, pq, totalHits| Constructor and Description |
|---|
SimpleTopScoreDocCollector(int numHits) |
| Modifier and Type | Method and Description |
|---|---|
LeafCollector |
getLeafCollector(LeafReaderContext context)
Create a new
collector to collect the given context. |
create, create, needsScores, newTopDocsgetTotalHits, populateResults, topDocs, topDocs, topDocs, topDocsSizepublic LeafCollector getLeafCollector(LeafReaderContext context) throws java.io.IOException
Collectorcollector to collect the given context.context - next atomic reader contextjava.io.IOException