Package | Description |
---|---|
org.apache.lucene.monitor |
Monitoring framework
|
Modifier and Type | Class and Description |
---|---|
private static class |
ParallelMatcher.ParallelMatcherFactory<T extends QueryMatch> |
private static class |
PartitionMatcher.PartitionMatcherFactory<T extends QueryMatch> |
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
|
private MatcherFactory<T> |
PartitionMatcher.matcherFactory |
private MatcherFactory<T> |
PartitionMatcher.PartitionMatcherFactory.matcherFactory |
private MatcherFactory<T> |
ParallelMatcher.ParallelMatcherFactory.matcherFactory |
static MatcherFactory<QueryMatch> |
QueryMatch.SIMPLE_MATCHER |
Modifier and Type | Method and Description |
---|---|
static <T extends QueryMatch> |
PartitionMatcher.factory(java.util.concurrent.ExecutorService executor,
MatcherFactory<T> matcherFactory)
Create a new MatcherFactory for a PartitionMatcher
|
static <T extends QueryMatch> |
ParallelMatcher.factory(java.util.concurrent.ExecutorService executor,
MatcherFactory<T> matcherFactory)
Create a new MatcherFactory for a ParallelMatcher
|
static <T extends QueryMatch> |
PartitionMatcher.factory(java.util.concurrent.ExecutorService executor,
MatcherFactory<T> matcherFactory,
int threads)
Create a new MatcherFactory for a PartitionMatcher
|
static <T extends QueryMatch> |
ParallelMatcher.factory(java.util.concurrent.ExecutorService executor,
MatcherFactory<T> matcherFactory,
int threads)
Create a new MatcherFactory for a ParallelMatcher
|
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> |
PartitionMatcher.factory(java.util.concurrent.ExecutorService executor,
MatcherFactory<T> matcherFactory)
Create a new MatcherFactory for a PartitionMatcher
|
static <T extends QueryMatch> |
ParallelMatcher.factory(java.util.concurrent.ExecutorService executor,
MatcherFactory<T> matcherFactory)
Create a new MatcherFactory for a ParallelMatcher
|
static <T extends QueryMatch> |
PartitionMatcher.factory(java.util.concurrent.ExecutorService executor,
MatcherFactory<T> matcherFactory,
int threads)
Create a new MatcherFactory for a PartitionMatcher
|
static <T extends QueryMatch> |
ParallelMatcher.factory(java.util.concurrent.ExecutorService executor,
MatcherFactory<T> matcherFactory,
int threads)
Create a new MatcherFactory for a ParallelMatcher
|
<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
|
Constructor and Description |
---|
MatcherWorker(MatcherFactory<T> matcherFactory) |
ParallelMatcher(IndexSearcher searcher,
java.util.concurrent.ExecutorService executor,
MatcherFactory<T> matcherFactory,
int threads)
Create a new ParallelMatcher
|
ParallelMatcherFactory(java.util.concurrent.ExecutorService executor,
MatcherFactory<T> matcherFactory,
int threads) |
PartitionMatcher(IndexSearcher searcher,
java.util.concurrent.ExecutorService executor,
MatcherFactory<T> matcherFactory,
int threads) |
PartitionMatcherFactory(java.util.concurrent.ExecutorService executor,
MatcherFactory<T> matcherFactory,
int threads) |