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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
competitiveIterator
public float getMaxScore()
public ScoreMode scoreMode()
public void setScorer(Scorable scorer) throws IOException
setScorer
in interface LeafCollector
setScorer
in class SimpleCollector
IOException
public void collect(int doc) throws IOException
collect
in interface LeafCollector
collect
in class SimpleCollector
IOException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.