# Uses of Class
org.apache.lucene.monitor.QueryMatch

- ## Uses of QueryMatch in org.apache.lucene.monitor

  Classes in org.apache.lucene.monitor with type parameters of type QueryMatch
  Modifier and Type
  Class
  Description
  `class`
  `CandidateMatcher<T extends QueryMatch>`
  Class used to match candidate queries selected by a Presearcher from a Monitor query index.
  `interface`
  `MatcherFactory<T extends QueryMatch>`
  Interface for the creation of new CandidateMatcher objects
  `class`
  `MatchingQueries<T extends QueryMatch>`
  Class to hold the results of matching a single `Document` against queries held in the Monitor
  `class`
  `MultiMatchingQueries<T extends QueryMatch>`
  Class to hold the results of matching a batch of `Document`s against queries held in the Monitor
  `class`
  `ParallelMatcher<T extends QueryMatch>`
  Matcher class that runs matching queries in parallel.
  `class`
  `PartitionMatcher<T extends QueryMatch>`
  A multi-threaded matcher that collects all possible matches in one pass, and then partitions them amongst a number of worker threads to perform the actual matching.
  `class`
  `PresearcherMatch<T extends QueryMatch>`
  Wraps a `QueryMatch` with information about which queries were selected by the presearcher
  `class`
  `PresearcherMatches<T extends QueryMatch>`
  Wraps a `MultiMatchingQueries` with information on which presearcher queries were selected
  Subclasses of QueryMatch in org.apache.lucene.monitor
  Modifier and Type
  Class
  Description
  `class`
  `ExplainingMatch`
  A query match containing the score explanation of the match
  `class`
  `HighlightsMatch`
  QueryMatch object that contains the hit positions of a matching Query
  `class`
  `ScoringMatch`
  A QueryMatch that reports scores for each match
  Fields in org.apache.lucene.monitor declared as QueryMatch
  Modifier and Type
  Field
  Description
  `final T`
  PresearcherMatch.`queryMatch`
  The QueryMatch
  Fields in org.apache.lucene.monitor with type parameters of type QueryMatch
  Modifier and Type
  Field
  Description
  `static final MatcherFactory<QueryMatch>`
  QueryMatch.`SIMPLE_MATCHER`
  Methods in org.apache.lucene.monitor with type parameters of type QueryMatch
  Modifier and Type
  Method
  Description
  `<T extends QueryMatch>
  PresearcherMatches<T>`
  Monitor.`debug(Document[] docs, MatcherFactory<T> factory)`
  Match a DocumentBatch against the queries stored in the Monitor, also returning information about which queries were selected by the presearcher, and why.
  `<T extends QueryMatch>
  PresearcherMatches<T>`
  Monitor.`debug(Document doc, MatcherFactory<T> factory)`
  Match a single `Document` against the queries stored in the Monitor, also returning information about which queries were selected by the presearcher, and why.
  `static <T extends QueryMatch>
  MatcherFactory<T>`
  ParallelMatcher.`factory(ExecutorService executor, MatcherFactory<T> matcherFactory)`
  Create a new MatcherFactory for a ParallelMatcher
  `static <T extends QueryMatch>
  MatcherFactory<T>`
  ParallelMatcher.`factory(ExecutorService executor, MatcherFactory<T> matcherFactory, int threads)`
  Create a new MatcherFactory for a ParallelMatcher
  `static <T extends QueryMatch>
  MatcherFactory<T>`
  PartitionMatcher.`factory(ExecutorService executor, MatcherFactory<T> matcherFactory)`
  Create a new MatcherFactory for a PartitionMatcher
  `static <T extends QueryMatch>
  MatcherFactory<T>`
  PartitionMatcher.`factory(ExecutorService executor, MatcherFactory<T> matcherFactory, int threads)`
  Create a new MatcherFactory for a PartitionMatcher
  `<T extends QueryMatch>
  MultiMatchingQueries<T>`
  Monitor.`match(Document[] docs, MatcherFactory<T> factory)`
  Match an array of `Document`s against the queryindex, calling a `CandidateMatcher` produced by the supplied `MatcherFactory` for each possible matching query.
  `<T extends QueryMatch>
  MatchingQueries<T>`
  Monitor.`match(Document doc, MatcherFactory<T> factory)`
  Match a single `Document` against the queryindex, calling a `CandidateMatcher` produced by the supplied `MatcherFactory` for each possible matching query.
  `static <T extends QueryMatch>
  MatcherFactory<T>`
  QueryTimeListener.`timingMatcher(MatcherFactory<T> factory, QueryTimeListener listener)`
  A wrapping matcher factory to log query times to a QueryTimeListener