Uses of Class
org.apache.lucene.search.MultiTermQuery.RewriteMethod
-
Packages that use MultiTermQuery.RewriteMethod Package Description org.apache.lucene.search Code to search indices. -
-
Uses of MultiTermQuery.RewriteMethod in org.apache.lucene.search
Subclasses of MultiTermQuery.RewriteMethod in org.apache.lucene.search Modifier and Type Class Description classDocValuesRewriteMethodRewrites MultiTermQueries into a filter, using DocValues for term enumeration.static classMultiTermQuery.TopTermsBlendedFreqScoringRewriteA rewrite method that first translates each term intoBooleanClause.Occur.SHOULDclause 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 classMultiTermQuery.TopTermsBoostOnlyBooleanQueryRewriteA rewrite method that first translates each term intoBooleanClause.Occur.SHOULDclause in a BooleanQuery, but the scores are only computed as the boost.static classMultiTermQuery.TopTermsScoringBooleanQueryRewriteA rewrite method that first translates each term intoBooleanClause.Occur.SHOULDclause in a BooleanQuery, and keeps the scores as computed by the query.classScoringRewrite<B>Base rewrite method that translates each term into a query, and keeps the scores as computed by the query.classTopTermsRewrite<B>Base rewrite method for collecting only the top terms via a priority queue.Fields in org.apache.lucene.search declared as MultiTermQuery.RewriteMethod Modifier and Type Field Description static MultiTermQuery.RewriteMethodMultiTermQuery. CONSTANT_SCORE_BOOLEAN_REWRITELikeMultiTermQuery.SCORING_BOOLEAN_REWRITEexcept scores are not computed.static MultiTermQuery.RewriteMethodScoringRewrite. CONSTANT_SCORE_BOOLEAN_REWRITELikeScoringRewrite.SCORING_BOOLEAN_REWRITEexcept scores are not computed.static MultiTermQuery.RewriteMethodMultiTermQuery. CONSTANT_SCORE_REWRITEA rewrite method that first creates a private Filter, by visiting each term in sequence and marking all docs for that term.protected MultiTermQuery.RewriteMethodMultiTermQuery. rewriteMethodstatic MultiTermQuery.RewriteMethodMultiTermQuery. SCORING_BOOLEAN_REWRITEA rewrite method that first translates each term intoBooleanClause.Occur.SHOULDclause in a BooleanQuery, and keeps the scores as computed by the query.Methods in org.apache.lucene.search that return MultiTermQuery.RewriteMethod Modifier and Type Method Description MultiTermQuery.RewriteMethodMultiTermQuery. getRewriteMethod()Methods in org.apache.lucene.search with parameters of type MultiTermQuery.RewriteMethod Modifier and Type Method Description voidMultiTermQuery. setRewriteMethod(MultiTermQuery.RewriteMethod method)Sets the rewrite method to be used when executing the query.
-