Package org.apache.lucene.monitor
Class ExplainingMatch
- java.lang.Object
-
- org.apache.lucene.monitor.QueryMatch
-
- org.apache.lucene.monitor.ExplainingMatch
-
public class ExplainingMatch extends QueryMatch
A query match containing the score explanation of the match
-
-
Field Summary
Fields Modifier and Type Field Description static MatcherFactory<ExplainingMatch>MATCHERA MatcherFactory for producing ExplainingMatches-
Fields inherited from class org.apache.lucene.monitor.QueryMatch
SIMPLE_MATCHER
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)ExplanationgetExplanation()inthashCode()-
Methods inherited from class org.apache.lucene.monitor.QueryMatch
getQueryId, toString
-
-
-
-
Field Detail
-
MATCHER
public static final MatcherFactory<ExplainingMatch> MATCHER
A MatcherFactory for producing ExplainingMatches
-
-
Method Detail
-
getExplanation
public Explanation getExplanation()
- Returns:
- the Explanation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classQueryMatch
-
hashCode
public int hashCode()
- Overrides:
hashCodein classQueryMatch
-
-