Package org.apache.solr.search
Class MaxScoreCollector
java.lang.Object
org.apache.lucene.search.SimpleCollector
org.apache.solr.search.MaxScoreCollector
- All Implemented Interfaces:
org.apache.lucene.search.Collector,org.apache.lucene.search.LeafCollector
public class MaxScoreCollector
extends org.apache.lucene.search.SimpleCollector
A
Collector for the maximum score value.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.lucene.search.SimpleCollector
doSetNextReader, getLeafCollectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.lucene.search.Collector
setWeightMethods inherited from interface org.apache.lucene.search.LeafCollector
collect, collectRange, competitiveIterator, finish
-
Constructor Details
-
MaxScoreCollector
public MaxScoreCollector()
-
-
Method Details
-
getMaxScore
public float getMaxScore() -
scoreMode
public org.apache.lucene.search.ScoreMode scoreMode() -
setScorer
- Specified by:
setScorerin interfaceorg.apache.lucene.search.LeafCollector- Overrides:
setScorerin classorg.apache.lucene.search.SimpleCollector- Throws:
IOException
-
collect
- Specified by:
collectin interfaceorg.apache.lucene.search.LeafCollector- Specified by:
collectin classorg.apache.lucene.search.SimpleCollector- Throws:
IOException
-