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, scoreMode
EMPTY_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, updateMinCompetitiveScore
getTotalHits, topDocs, topDocs, topDocsSize
final 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
Collector
collector
to collect the given context.context
- next atomic reader contextjava.io.IOException