Package org.apache.lucene.search
Class TopScoreDocCollector.ScorerLeafCollector
java.lang.Object
org.apache.lucene.search.TopScoreDocCollector.ScorerLeafCollector
- All Implemented Interfaces:
LeafCollector
- Enclosing class:
TopScoreDocCollector
public abstract static class TopScoreDocCollector.ScorerLeafCollector
extends Object
implements LeafCollector
Scorable leaf collector
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled before successive calls toLeafCollector.collect(int).Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.lucene.search.LeafCollector
collect, collect, competitiveIterator, finish
-
Field Details
-
scorer
-
-
Constructor Details
-
ScorerLeafCollector
public ScorerLeafCollector()
-
-
Method Details
-
setScorer
Description copied from interface:LeafCollectorCalled before successive calls toLeafCollector.collect(int). Implementations that need the score of the current document (passed-in toLeafCollector.collect(int)), should save the passed-in Scorer and call scorer.score() when needed.- Specified by:
setScorerin interfaceLeafCollector- Throws:
IOException
-