ExplainingMatch (Lucene 10.5.1 monitor API)
Description: declaration: package: org.apache.lucene.monitor, class: ExplainingMatch

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 final MatcherFactory<ExplainingMatch>`
  `MATCHER`
  A MatcherFactory for producing ExplainingMatches

  ### Fields inherited from class org.apache.lucene.monitor.QueryMatch

  `SIMPLE_MATCHER`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object o)`
  `Explanation`
  `getExplanation()`
  `int`
  `hashCode()`

  ### Methods inherited from class org.apache.lucene.monitor.QueryMatch

  `getQueryId, toString`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### MATCHER

    public static final MatcherFactory<ExplainingMatch> MATCHER
    A MatcherFactory for producing ExplainingMatches

- ## Method Details

  - ### getExplanation

    public Explanation getExplanation()
    Returns:
      the Explanation

  - ### equals

    public boolean equals(Object o)
    Overrides:
      `equals` in class `QueryMatch`

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `QueryMatch`