Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.apache.lucene.search.MultiTermQuery.RewriteMethod

Packages that use MultiTermQuery.RewriteMethod
org.apache.lucene.queryParser | A simple query parser implemented with JavaCC.
org.apache.lucene.queryParser.standard | Contains the implementation of the Lucene query parser using the flexible query parser frameworks
org.apache.lucene.queryParser.standard.config | Standard Lucene Query Configuration
org.apache.lucene.search | Code to search indices.
org.apache.lucene.search.spans | The calculus of spans.

Uses of MultiTermQuery.RewriteMethod in org.apache.lucene.queryParser

Methods in org.apache.lucene.queryParser that return MultiTermQuery.RewriteMethod
`MultiTermQuery.RewriteMethod` | `QueryParser.getMultiTermRewriteMethod()`

Methods in org.apache.lucene.queryParser with parameters of type MultiTermQuery.RewriteMethod
`void` | `QueryParser.setMultiTermRewriteMethod(MultiTermQuery.RewriteMethod method)` By default QueryParser uses `MultiTermQuery.CONSTANT_SCORE_AUTO_REWRITE_DEFAULT` when creating a PrefixQuery, WildcardQuery or RangeQuery.

Uses of MultiTermQuery.RewriteMethod in org.apache.lucene.queryParser.standard

Methods in org.apache.lucene.queryParser.standard that return MultiTermQuery.RewriteMethod
`MultiTermQuery.RewriteMethod` | `QueryParserWrapper.getMultiTermRewriteMethod()` Deprecated.
`MultiTermQuery.RewriteMethod` | `StandardQueryParser.getMultiTermRewriteMethod()`

Methods in org.apache.lucene.queryParser.standard with parameters of type MultiTermQuery.RewriteMethod
`void` | `QueryParserWrapper.setMultiTermRewriteMethod(MultiTermQuery.RewriteMethod method)` Deprecated.
`void` | `StandardQueryParser.setMultiTermRewriteMethod(MultiTermQuery.RewriteMethod method)` By default, it uses `MultiTermQuery.CONSTANT_SCORE_AUTO_REWRITE_DEFAULT` when creating a prefix, wildcard and range queries.

Uses of MultiTermQuery.RewriteMethod in org.apache.lucene.queryParser.standard.config

Fields in org.apache.lucene.queryParser.standard.config with type parameters of type MultiTermQuery.RewriteMethod
`static ConfigurationKey<MultiTermQuery.RewriteMethod>` | `StandardQueryConfigHandler.ConfigurationKeys.MULTI_TERM_REWRITE_METHOD` Key used to set the `MultiTermQuery.RewriteMethod` used when creating queries

Methods in org.apache.lucene.queryParser.standard.config that return MultiTermQuery.RewriteMethod
`MultiTermQuery.RewriteMethod` | `MultiTermRewriteMethodAttribute.getMultiTermRewriteMethod()` Deprecated.
`MultiTermQuery.RewriteMethod` | `MultiTermRewriteMethodAttributeImpl.getMultiTermRewriteMethod()` Deprecated.

Methods in org.apache.lucene.queryParser.standard.config with parameters of type MultiTermQuery.RewriteMethod
`void` | `MultiTermRewriteMethodAttribute.setMultiTermRewriteMethod(MultiTermQuery.RewriteMethod method)` Deprecated.
`void` | `MultiTermRewriteMethodAttributeImpl.setMultiTermRewriteMethod(MultiTermQuery.RewriteMethod method)` Deprecated.

Uses of MultiTermQuery.RewriteMethod in org.apache.lucene.search

Subclasses of MultiTermQuery.RewriteMethod in org.apache.lucene.search
`static class` | `MultiTermQuery.ConstantScoreAutoRewrite` A rewrite method that tries to pick the best constant-score rewrite method based on term and document counts from the query.
`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<Q extends Query>`
`class` | `TopTermsRewrite<Q extends Query>` Base rewrite method for collecting only the top terms via a priority queue.

Fields in org.apache.lucene.search declared as MultiTermQuery.RewriteMethod
`static MultiTermQuery.RewriteMethod` | `MultiTermQuery.CONSTANT_SCORE_AUTO_REWRITE_DEFAULT` Read-only default instance of `MultiTermQuery.ConstantScoreAutoRewrite`, with `ConstantScoreAutoRewrite.setTermCountCutoff(int)` set to `ConstantScoreAutoRewrite.DEFAULT_TERM_COUNT_CUTOFF` and `ConstantScoreAutoRewrite.setDocCountPercent(double)` set to `ConstantScoreAutoRewrite.DEFAULT_DOC_COUNT_PERCENT`.
`static MultiTermQuery.RewriteMethod` | `ScoringRewrite.CONSTANT_SCORE_BOOLEAN_QUERY_REWRITE` Like `ScoringRewrite.SCORING_BOOLEAN_QUERY_REWRITE` except scores are not computed.
`static MultiTermQuery.RewriteMethod` | `MultiTermQuery.CONSTANT_SCORE_BOOLEAN_QUERY_REWRITE` Like `MultiTermQuery.SCORING_BOOLEAN_QUERY_REWRITE` except scores are not computed.
`static MultiTermQuery.RewriteMethod` | `MultiTermQuery.CONSTANT_SCORE_FILTER_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_QUERY_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.

Methods in org.apache.lucene.search that return MultiTermQuery.RewriteMethod
`MultiTermQuery.RewriteMethod` | `MultiTermQuery.getRewriteMethod()`

Methods in org.apache.lucene.search with parameters of type MultiTermQuery.RewriteMethod
`void` | `MultiTermQuery.setRewriteMethod(MultiTermQuery.RewriteMethod method)` Sets the rewrite method to be used when executing the query.

Uses of MultiTermQuery.RewriteMethod in org.apache.lucene.search.spans

Subclasses of MultiTermQuery.RewriteMethod in org.apache.lucene.search.spans
`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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES