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
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.search.TopFieldCollector
TopFieldCollector.PagingFieldCollector, TopFieldCollector.SimpleFieldCollector -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final FieldDoc(package private) int(package private) final FieldValueHitQueue<FieldValueHitQueue.Entry> (package private) final SortFields inherited from class org.apache.lucene.search.TopFieldCollector
bottom, canSetMinScore, docBase, firstComparator, hitsThresholdChecker, minCompetitiveScore, minScoreAcc, needsScores, numComparators, numHits, queueFull, scoreMode, searchSortPartOfIndexSortFields 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 newcollectorto collect the given context.Methods inherited from class org.apache.lucene.search.TopFieldCollector
add, canEarlyTerminate, create, create, createSharedManager, isEarlyTerminated, newTopDocs, populateResults, populateScores, scoreMode, topDocs, updateBottom, updateGlobalMinCompetitiveScore, updateMinCompetitiveScoreMethods 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:CollectorCreate a newcollectorto collect the given context.- Parameters:
context- next atomic reader context- Throws:
IOException
-