public final class ScoreAccessor extends Number implements Comparable<Number>
DocLookup
is used to retrieve the score
for the current document.Constructor and Description |
---|
ScoreAccessor(org.apache.lucene.search.Scorer scorer) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Number o) |
double |
doubleValue() |
float |
floatValue() |
int |
intValue() |
long |
longValue() |
byteValue, shortValue
public float floatValue()
floatValue
in class Number
public double doubleValue()
doubleValue
in class Number
public int compareTo(Number o)
compareTo
in interface Comparable<Number>
Copyright © 2009–2017. All rights reserved.