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, getLeafCollector
public float getMaxScore()
public ScoreMode scoreMode()
public void setScorer(Scorable scorer)
setScorer
in interface LeafCollector
setScorer
in class SimpleCollector
public void collect(int doc) throws IOException
collect
in interface LeafCollector
collect
in class SimpleCollector
IOException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.