net.conquiris.lucene.search
Class ScoredTotalHitCountCollector
java.lang.Object
org.apache.lucene.search.Collector
org.apache.lucene.search.TotalHitCountCollector
net.conquiris.lucene.search.ScoredTotalHitCountCollector
public class ScoredTotalHitCountCollector
- extends TotalHitCountCollector
A collector that counts the number of hits and keeps track of the maximum score.
- Author:
- Andres Rodriguez
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScoredTotalHitCountCollector
public ScoredTotalHitCountCollector()
- Constructor.
collect
public void collect(int doc)
- Overrides:
collect in class TotalHitCountCollector
setScorer
public void setScorer(Scorer scorer)
- Overrides:
setScorer in class TotalHitCountCollector
getMaxScore
public final float getMaxScore()
- Returns the maximum collected score.
- Returns:
- The maximum collected score.
Copyright © 2013 Derquinse Projects. All Rights Reserved.