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
private static class TopFieldCollector.SimpleFieldCollector extends TopFieldCollector
-
-
Field Summary
Fields Modifier and Type Field Description (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, searchSortPartOfIndexSort
-
Fields inherited from class org.apache.lucene.search.TopDocsCollector
EMPTY_TOPDOCS, pq, totalHits, totalHitsRelation
-
-
Constructor Summary
Constructors Constructor Description SimpleFieldCollector(Sort sort, FieldValueHitQueue<FieldValueHitQueue.Entry> queue, 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
-
queue
final FieldValueHitQueue<FieldValueHitQueue.Entry> queue
-
-
Constructor Detail
-
SimpleFieldCollector
public SimpleFieldCollector(Sort sort, FieldValueHitQueue<FieldValueHitQueue.Entry> queue, 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
-
-