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 Sort
Fields inherited from class org.apache.lucene.search.TopFieldCollector
bottom, canSetMinScore, docBase, firstComparator, minCompetitiveScore, minScoreAcc, needsScores, numComparators, numHits, queueFull, scoreMode, searchSortPartOfIndexSort, totalHitsThreshold
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, int totalHitsThreshold, 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, 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, int totalHitsThreshold, 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
-