private static class TopFieldCollector.SimpleFieldCollector extends TopFieldCollector
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
mayNeedScoresTwice |
(package private) FieldValueHitQueue<FieldValueHitQueue.Entry> |
queue |
(package private) boolean |
trackDocScores |
(package private) boolean |
trackMaxScore |
bottom, docBase, maxScore, needsScores, numHits, queueFull
EMPTY_TOPDOCS, pq, totalHits
Constructor and Description |
---|
SimpleFieldCollector(Sort sort,
FieldValueHitQueue<FieldValueHitQueue.Entry> queue,
int numHits,
boolean fillFields,
boolean trackDocScores,
boolean trackMaxScore) |
Modifier and Type | Method and Description |
---|---|
LeafCollector |
getLeafCollector(LeafReaderContext context)
Create a new
collector to collect the given context. |
add, create, create, needsScores, newTopDocs, populateResults, topDocs, updateBottom, updateBottom
getTotalHits, topDocs, topDocs, topDocsSize
final FieldValueHitQueue<FieldValueHitQueue.Entry> queue
final boolean trackDocScores
final boolean trackMaxScore
final boolean mayNeedScoresTwice
public SimpleFieldCollector(Sort sort, FieldValueHitQueue<FieldValueHitQueue.Entry> queue, int numHits, boolean fillFields, boolean trackDocScores, boolean trackMaxScore)
public LeafCollector getLeafCollector(LeafReaderContext context) throws java.io.IOException
Collector
collector
to collect the given context.context
- next atomic reader contextjava.io.IOException