private static final class TopFieldCollector.PagingFieldCollector extends TopFieldCollector
| Modifier and Type | Field and Description |
|---|---|
(package private) FieldDoc |
after |
(package private) int |
collectedHits |
(package private) FieldValueHitQueue<FieldValueHitQueue.Entry> |
queue |
(package private) Sort |
sort |
(package private) int |
totalHitsThreshold |
bottom, canSetMinScore, docBase, firstComparator, needsScores, numComparators, numHits, queueFull, scoreModeEMPTY_TOPDOCS, pq, totalHits, totalHitsRelation| Constructor and Description |
|---|
PagingFieldCollector(Sort sort,
FieldValueHitQueue<FieldValueHitQueue.Entry> queue,
FieldDoc after,
int numHits,
int totalHitsThreshold) |
| Modifier and Type | Method and Description |
|---|---|
LeafCollector |
getLeafCollector(LeafReaderContext context)
Create a new
collector to collect the given context. |
add, canEarlyTerminate, create, create, isEarlyTerminated, newTopDocs, populateResults, populateScores, scoreMode, topDocs, updateBottom, updateMinCompetitiveScoregetTotalHits, topDocs, topDocs, topDocsSizefinal Sort sort
int collectedHits
final FieldValueHitQueue<FieldValueHitQueue.Entry> queue
final FieldDoc after
final int totalHitsThreshold
public PagingFieldCollector(Sort sort, FieldValueHitQueue<FieldValueHitQueue.Entry> queue, FieldDoc after, int numHits, int totalHitsThreshold)
public LeafCollector getLeafCollector(LeafReaderContext context) throws java.io.IOException
Collectorcollector to collect the given context.context - next atomic reader contextjava.io.IOException