# Uses of Interface
org.apache.lucene.monitor.MatcherFactory

## Uses of MatcherFactory in org.apache.lucene.monitor

Fields in org.apache.lucene.monitor declared as MatcherFactory
Modifier and Type
Field
Description
`static final MatcherFactory<ScoringMatch>`
ScoringMatch.`DEFAULT_MATCHER`
`static final MatcherFactory<ExplainingMatch>`
ExplainingMatch.`MATCHER`
A MatcherFactory for producing ExplainingMatches
`static final MatcherFactory<HighlightsMatch>`
HighlightsMatch.`MATCHER`
`static final MatcherFactory<QueryMatch>`
QueryMatch.`SIMPLE_MATCHER`
Methods in org.apache.lucene.monitor that return MatcherFactory
Modifier and Type
Method
Description
`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
`static final MatcherFactory<ScoringMatch>`
ScoringMatch.`matchWithSimilarity(Similarity similarity)`
`static <T extends QueryMatch>
MatcherFactory<T>`
QueryTimeListener.`timingMatcher(MatcherFactory<T> factory, QueryTimeListener listener)`
A wrapping matcher factory to log query times to a QueryTimeListener
Methods in org.apache.lucene.monitor with parameters of type MatcherFactory
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