org.apache.lucene.monitor

## Class PresearcherMatches<T extends QueryMatch>

- java.lang.Object
- - org.apache.lucene.monitor.PresearcherMatches<T>

-     public class PresearcherMatches<T extends QueryMatch>
      extends Object

  Wraps a `MultiMatchingQueries` with information on which presearcher queries were selected

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `MultiMatchingQueries<T>` | `matcher` The wrapped Matches

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `PresearcherMatches(Map<String,StringBuilder> matchingTerms, MultiMatchingQueries<T> matcher)` Builds a new PresearcherMatches

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `PresearcherMatch<T>` | `match(String queryId, int doc)` Returns match information for a given query

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### matcher

          public final MultiMatchingQueries<T extends QueryMatch> matcher

      The wrapped Matches

  - ### Constructor Detail

    - #### PresearcherMatches

          public PresearcherMatches(Map<String,StringBuilder> matchingTerms,
                                    MultiMatchingQueries<T> matcher)

      Builds a new PresearcherMatches

  - ### Method Detail

    - #### match

          public PresearcherMatch<T> match(String queryId,
                                           int doc)

      Returns match information for a given query

Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.