Package org.apache.lucene.monitor
Class ScoringMatch
- java.lang.Object
-
- org.apache.lucene.monitor.QueryMatch
-
- org.apache.lucene.monitor.ScoringMatch
-
public class ScoringMatch extends QueryMatch
A QueryMatch that reports scores for each match
-
-
Field Summary
Fields Modifier and Type Field Description static MatcherFactory<ScoringMatch>
DEFAULT_MATCHER
-
Fields inherited from class org.apache.lucene.monitor.QueryMatch
SIMPLE_MATCHER
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
float
getScore()
int
hashCode()
static MatcherFactory<ScoringMatch>
matchWithSimilarity(Similarity similarity)
-
Methods inherited from class org.apache.lucene.monitor.QueryMatch
getQueryId, toString
-
-
-
-
Field Detail
-
DEFAULT_MATCHER
public static final MatcherFactory<ScoringMatch> DEFAULT_MATCHER
-
-
Method Detail
-
matchWithSimilarity
public static final MatcherFactory<ScoringMatch> matchWithSimilarity(Similarity similarity)
-
getScore
public float getScore()
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classQueryMatch
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classQueryMatch
-
-