Module org.apache.lucene.core
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
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final FieldDoc
(package private) int
(package private) final FieldValueHitQueue<FieldValueHitQueue.Entry>
(package private) final Sort
Fields inherited from class org.apache.lucene.search.TopFieldCollector
bottom, canSetMinScore, docBase, firstComparator, hitsThresholdChecker, minCompetitiveScore, minScoreAcc, needsScores, numComparators, numHits, queueFull, scoreMode, searchSortPartOfIndexSort
Fields inherited from class org.apache.lucene.search.TopDocsCollector
EMPTY_TOPDOCS, pq, totalHits, totalHitsRelation
-
Constructor Summary
ConstructorsConstructorDescriptionPagingFieldCollector
(Sort sort, FieldValueHitQueue<FieldValueHitQueue.Entry> queue, FieldDoc after, int numHits, HitsThresholdChecker hitsThresholdChecker, MaxScoreAccumulator minScoreAcc) -
Method Summary
Modifier and TypeMethodDescriptiongetLeafCollector
(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 Details
-
sort
-
collectedHits
int collectedHits -
queue
-
after
-
-
Constructor Details
-
PagingFieldCollector
public PagingFieldCollector(Sort sort, FieldValueHitQueue<FieldValueHitQueue.Entry> queue, FieldDoc after, int numHits, HitsThresholdChecker hitsThresholdChecker, MaxScoreAccumulator minScoreAcc)
-
-
Method Details
-
getLeafCollector
Description copied from interface:Collector
Create a newcollector
to collect the given context.- Parameters:
context
- next atomic reader context- Throws:
IOException
-