Uses of Class
org.apache.lucene.monitor.QueryMatch
-
Uses of QueryMatch in org.apache.lucene.monitor
Modifier and TypeClassDescriptionclass
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 objectsclass
MatchingQueries<T extends QueryMatch>
Class to hold the results of matching a singleDocument
against queries held in the Monitorclass
MultiMatchingQueries<T extends QueryMatch>
Class to hold the results of matching a batch ofDocument
s against queries held in the Monitorclass
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 aQueryMatch
with information about which queries were selected by the presearcherclass
PresearcherMatches<T extends QueryMatch>
Wraps aMultiMatchingQueries
with information on which presearcher queries were selectedModifier and TypeClassDescriptionclass
A query match containing the score explanation of the matchclass
QueryMatch object that contains the hit positions of a matching Queryclass
A QueryMatch that reports scores for each matchModifier and TypeFieldDescriptionstatic final MatcherFactory<QueryMatch>
QueryMatch.SIMPLE_MATCHER
Modifier and TypeMethodDescription<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 singleDocument
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 ParallelMatcherstatic <T extends QueryMatch>
MatcherFactory<T>ParallelMatcher.factory
(ExecutorService executor, MatcherFactory<T> matcherFactory, int threads) Create a new MatcherFactory for a ParallelMatcherstatic <T extends QueryMatch>
MatcherFactory<T>PartitionMatcher.factory
(ExecutorService executor, MatcherFactory<T> matcherFactory) Create a new MatcherFactory for a PartitionMatcherstatic <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 ofDocument
s against the queryindex, calling aCandidateMatcher
produced by the suppliedMatcherFactory
for each possible matching query.<T extends QueryMatch>
MatchingQueries<T>Monitor.match
(Document doc, MatcherFactory<T> factory) Match a singleDocument
against the queryindex, calling aCandidateMatcher
produced by the suppliedMatcherFactory
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