Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.spans |
The calculus of spans.
|
Modifier and Type | Class and Description |
---|---|
class |
DocValuesRewriteMethod
Rewrites MultiTermQueries into a filter, using DocValues for term enumeration.
|
static class |
MultiTermQuery.TopTermsBlendedFreqScoringRewrite
A rewrite method that first translates each term into
BooleanClause.Occur.SHOULD clause in a BooleanQuery, but adjusts
the frequencies used for scoring to be blended across the terms, otherwise
the rarest term typically ranks highest (often not useful eg in the set of
expanded terms in a FuzzyQuery). |
static class |
MultiTermQuery.TopTermsBoostOnlyBooleanQueryRewrite
A rewrite method that first translates each term into
BooleanClause.Occur.SHOULD clause in a BooleanQuery, but the scores
are only computed as the boost. |
static class |
MultiTermQuery.TopTermsScoringBooleanQueryRewrite
A rewrite method that first translates each term into
BooleanClause.Occur.SHOULD clause in a BooleanQuery, and keeps the
scores as computed by the query. |
class |
ScoringRewrite<B>
Base rewrite method that translates each term into a query, and keeps
the scores as computed by the query.
|
class |
TopTermsRewrite<B>
Base rewrite method for collecting only the top terms
via a priority queue.
|
Modifier and Type | Field and Description |
---|---|
static MultiTermQuery.RewriteMethod |
ScoringRewrite.CONSTANT_SCORE_BOOLEAN_REWRITE
Like
ScoringRewrite.SCORING_BOOLEAN_REWRITE except
scores are not computed. |
static MultiTermQuery.RewriteMethod |
MultiTermQuery.CONSTANT_SCORE_BOOLEAN_REWRITE
Like
MultiTermQuery.SCORING_BOOLEAN_REWRITE except
scores are not computed. |
static MultiTermQuery.RewriteMethod |
MultiTermQuery.CONSTANT_SCORE_REWRITE
A rewrite method that first creates a private Filter,
by visiting each term in sequence and marking all docs
for that term.
|
protected MultiTermQuery.RewriteMethod |
MultiTermQuery.rewriteMethod |
static MultiTermQuery.RewriteMethod |
MultiTermQuery.SCORING_BOOLEAN_REWRITE
A rewrite method that first translates each term into
BooleanClause.Occur.SHOULD clause in a
BooleanQuery, and keeps the scores as computed by the
query. |
Modifier and Type | Method and Description |
---|---|
MultiTermQuery.RewriteMethod |
MultiTermQuery.getRewriteMethod() |
Modifier and Type | Method and Description |
---|---|
void |
MultiTermQuery.setRewriteMethod(MultiTermQuery.RewriteMethod method)
Sets the rewrite method to be used when executing the
query.
|
Modifier and Type | Class and Description |
---|---|
static class |
SpanMultiTermQueryWrapper.SpanRewriteMethod
Abstract class that defines how the query is rewritten.
|
static class |
SpanMultiTermQueryWrapper.TopTermsSpanBooleanQueryRewrite
A rewrite method that first translates each term into a SpanTermQuery in a
BooleanClause.Occur.SHOULD clause in a BooleanQuery, and keeps the
scores as computed by the query. |
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.