Modifier and Type | Field and Description |
---|---|
static MatcherFactory<ScoringMatch> |
ScoringMatch.DEFAULT_MATCHER |
static MatcherFactory<HighlightsMatch> |
HighlightsMatch.MATCHER |
static MatcherFactory<ExplainingMatch> |
ExplainingMatch.MATCHER
A MatcherFactory for producing ExplainingMatches
|
static MatcherFactory<QueryMatch> |
QueryMatch.SIMPLE_MATCHER |
Modifier and Type | Method and Description |
---|---|
static <T extends QueryMatch> |
ParallelMatcher.factory(ExecutorService executor,
MatcherFactory<T> matcherFactory)
Create a new MatcherFactory for a ParallelMatcher
|
static <T extends QueryMatch> |
PartitionMatcher.factory(ExecutorService executor,
MatcherFactory<T> matcherFactory)
Create a new MatcherFactory for a PartitionMatcher
|
static <T extends QueryMatch> |
ParallelMatcher.factory(ExecutorService executor,
MatcherFactory<T> matcherFactory,
int threads)
Create a new MatcherFactory for a ParallelMatcher
|
static <T extends QueryMatch> |
PartitionMatcher.factory(ExecutorService executor,
MatcherFactory<T> matcherFactory,
int threads)
Create a new MatcherFactory for a PartitionMatcher
|
static MatcherFactory<ScoringMatch> |
ScoringMatch.matchWithSimilarity(Similarity similarity) |
static <T extends QueryMatch> |
QueryTimeListener.timingMatcher(MatcherFactory<T> factory,
QueryTimeListener listener)
A wrapping matcher factory to log query times to a QueryTimeListener
|
Modifier and Type | Method and Description |
---|---|
<T extends QueryMatch> |
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> |
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> |
ParallelMatcher.factory(ExecutorService executor,
MatcherFactory<T> matcherFactory)
Create a new MatcherFactory for a ParallelMatcher
|
static <T extends QueryMatch> |
PartitionMatcher.factory(ExecutorService executor,
MatcherFactory<T> matcherFactory)
Create a new MatcherFactory for a PartitionMatcher
|
static <T extends QueryMatch> |
ParallelMatcher.factory(ExecutorService executor,
MatcherFactory<T> matcherFactory,
int threads)
Create a new MatcherFactory for a ParallelMatcher
|
static <T extends QueryMatch> |
PartitionMatcher.factory(ExecutorService executor,
MatcherFactory<T> matcherFactory,
int threads)
Create a new MatcherFactory for a PartitionMatcher
|
<T extends QueryMatch> |
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> |
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> |
QueryTimeListener.timingMatcher(MatcherFactory<T> factory,
QueryTimeListener listener)
A wrapping matcher factory to log query times to a QueryTimeListener
|
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.