Package org.apache.lucene.search
Class TopFieldCollector.PagingFieldCollector
- java.lang.Object
-
- org.apache.lucene.search.TopDocsCollector<FieldValueHitQueue.Entry>
-
- org.apache.lucene.search.TopFieldCollector
-
- org.apache.lucene.search.TopFieldCollector.PagingFieldCollector
-
- All Implemented Interfaces:
Collector
- Enclosing class:
- TopFieldCollector
private static final class TopFieldCollector.PagingFieldCollector extends TopFieldCollector
-
-
Field Summary
Fields Modifier and Type Field Description (package private) FieldDoc
after
(package private) int
collectedHits
(package private) FieldValueHitQueue<FieldValueHitQueue.Entry>
queue
(package private) Sort
sort
-
Fields inherited from class org.apache.lucene.search.TopFieldCollector
bottom, canSetMinScore, docBase, firstComparator, hitsThresholdChecker, minCompetitiveScore, minScoreAcc, needsScores, numComparators, numHits, queueFull, scoreMode
-
Fields inherited from class org.apache.lucene.search.TopDocsCollector
EMPTY_TOPDOCS, pq, totalHits, totalHitsRelation
-
-
Constructor Summary
Constructors Constructor Description PagingFieldCollector(Sort sort, FieldValueHitQueue<FieldValueHitQueue.Entry> queue, FieldDoc after, int numHits, HitsThresholdChecker hitsThresholdChecker, MaxScoreAccumulator minScoreAcc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LeafCollector
getLeafCollector(LeafReaderContext context)
Create a newcollector
to collect the given context.-
Methods inherited from class org.apache.lucene.search.TopFieldCollector
add, canEarlyTerminate, create, create, create, createSharedManager, isEarlyTerminated, newTopDocs, populateResults, populateScores, scoreMode, topDocs, updateBottom, updateGlobalMinCompetitiveScore, updateMinCompetitiveScore
-
Methods inherited from class org.apache.lucene.search.TopDocsCollector
getTotalHits, topDocs, topDocs, topDocsSize
-
-
-
-
Field Detail
-
sort
final Sort sort
-
collectedHits
int collectedHits
-
queue
final FieldValueHitQueue<FieldValueHitQueue.Entry> queue
-
after
final FieldDoc after
-
-
Constructor Detail
-
PagingFieldCollector
public PagingFieldCollector(Sort sort, FieldValueHitQueue<FieldValueHitQueue.Entry> queue, FieldDoc after, int numHits, HitsThresholdChecker hitsThresholdChecker, MaxScoreAccumulator minScoreAcc)
-
-
Method Detail
-
getLeafCollector
public LeafCollector getLeafCollector(LeafReaderContext context) throws java.io.IOException
Description copied from interface:Collector
Create a newcollector
to collect the given context.- Parameters:
context
- next atomic reader context- Throws:
java.io.IOException
-
-