Class PresearcherMatches<T extends QueryMatch>


  • public class PresearcherMatches<T extends QueryMatch>
    extends java.lang.Object
    Wraps a MultiMatchingQueries with information on which presearcher queries were selected
    • Constructor Summary

      Constructors 
      Constructor Description
      PresearcherMatches​(java.util.Map<java.lang.String,​java.lang.StringBuilder> matchingTerms, MultiMatchingQueries<T> matcher)
      Builds a new PresearcherMatches
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      PresearcherMatch<T> match​(java.lang.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

      • matchingTerms

        private final java.util.Map<java.lang.String,​java.lang.StringBuilder> matchingTerms
    • Constructor Detail

      • PresearcherMatches

        public PresearcherMatches​(java.util.Map<java.lang.String,​java.lang.StringBuilder> matchingTerms,
                                  MultiMatchingQueries<T> matcher)
        Builds a new PresearcherMatches
    • Method Detail

      • match

        public PresearcherMatch<T> match​(java.lang.String queryId,
                                         int doc)
        Returns match information for a given query