Module org.apache.lucene.core
Package org.apache.lucene.search
Class TopFieldCollector.SimpleFieldCollector
java.lang.Object
org.apache.lucene.search.TopDocsCollector<FieldValueHitQueue.Entry>
org.apache.lucene.search.TopFieldCollector
org.apache.lucene.search.TopFieldCollector.SimpleFieldCollector
- 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 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
ConstructorsConstructorDescriptionSimpleFieldCollector(Sort sort, FieldValueHitQueue<FieldValueHitQueue.Entry> queue, 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
-
queue
-
-
Constructor Details
-
SimpleFieldCollector
public SimpleFieldCollector(Sort sort, FieldValueHitQueue<FieldValueHitQueue.Entry> queue, 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
-