public class ScoringMatch extends QueryMatch
| Modifier and Type | Field and Description |
|---|---|
static MatcherFactory<ScoringMatch> |
DEFAULT_MATCHER |
private float |
score |
SIMPLE_MATCHER| Modifier | Constructor and Description |
|---|---|
private |
ScoringMatch(java.lang.String queryId,
float score) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
float |
getScore() |
int |
hashCode() |
static MatcherFactory<ScoringMatch> |
matchWithSimilarity(Similarity similarity) |
getQueryId, toStringpublic static final MatcherFactory<ScoringMatch> DEFAULT_MATCHER
private final float score
public static final MatcherFactory<ScoringMatch> matchWithSimilarity(Similarity similarity)
public float getScore()
public boolean equals(java.lang.Object o)
equals in class QueryMatchpublic int hashCode()
hashCode in class QueryMatch