public class MaxScoreCollector extends SimpleCollector
Collector for the maximum score value.| Constructor and Description |
|---|
MaxScoreCollector() |
| Modifier and Type | Method and Description |
|---|---|
void |
collect(int doc) |
float |
getMaxScore() |
ScoreMode |
scoreMode() |
void |
setScorer(Scorable scorer) |
doSetNextReader, getLeafCollectorpublic float getMaxScore()
public ScoreMode scoreMode()
public void setScorer(Scorable scorer)
setScorer in interface LeafCollectorsetScorer in class SimpleCollectorpublic void collect(int doc)
throws IOException
collect in interface LeafCollectorcollect in class SimpleCollectorIOExceptionCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.