Uses of Class
org.apache.lucene.search.MultiTermQuery.RewriteMethod
Packages that use MultiTermQuery.RewriteMethod
-
Uses of MultiTermQuery.RewriteMethod in org.apache.lucene.search
Subclasses of MultiTermQuery.RewriteMethod in org.apache.lucene.searchModifier and TypeClassDescriptionfinal classRewrites MultiTermQueries into a filter, using DocValues for term enumeration.static final classA 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 final classA rewrite method that first translates each term intoBooleanClause.Occur.SHOULDclause in a BooleanQuery, but the scores are only computed as the boost.static final classA rewrite method that first translates each term intoBooleanClause.Occur.SHOULDclause in a BooleanQuery, and keeps the scores as computed by the query.classBase rewrite method that translates each term into a query, and keeps the scores as computed by the query.classBase rewrite method for collecting only the top terms via a priority queue.Fields in org.apache.lucene.search declared as MultiTermQuery.RewriteMethodModifier and TypeFieldDescriptionstatic final MultiTermQuery.RewriteMethodMultiTermQuery.CONSTANT_SCORE_BLENDED_REWRITEA rewrite method where documents are assigned a constant score equal to the query's boost.static final MultiTermQuery.RewriteMethodMultiTermQuery.CONSTANT_SCORE_BOOLEAN_REWRITELikeMultiTermQuery.SCORING_BOOLEAN_REWRITEexcept scores are not computed.static final MultiTermQuery.RewriteMethodScoringRewrite.CONSTANT_SCORE_BOOLEAN_REWRITELikeScoringRewrite.SCORING_BOOLEAN_REWRITEexcept scores are not computed.static final 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.static final MultiTermQuery.RewriteMethodMultiTermQuery.DOC_VALUES_REWRITEA rewrite method that usesDocValuesType.SORTED/DocValuesType.SORTED_SETdoc values to find matching docs through a post-filtering type approach.protected final MultiTermQuery.RewriteMethodMultiTermQuery.rewriteMethodstatic final 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.RewriteMethodModifier and TypeMethodDescriptionstatic MultiTermQuery.RewriteMethodFuzzyQuery.defaultRewriteMethod(int maxExpansions) Creates a default top-terms blended frequency scoring rewrite with the given max expansionsMultiTermQuery.getRewriteMethod()Methods in org.apache.lucene.search with parameters of type MultiTermQuery.RewriteMethodModifier and TypeMethodDescriptionstatic TermRangeQueryTermRangeQuery.newStringRange(String field, String lowerTerm, String upperTerm, boolean includeLower, boolean includeUpper, MultiTermQuery.RewriteMethod rewriteMethod) Factory that creates a new TermRangeQuery using Strings for term text.Constructors in org.apache.lucene.search with parameters of type MultiTermQuery.RewriteMethodModifierConstructorDescriptionAutomatonQuery(Term term, Automaton automaton, boolean isBinary, MultiTermQuery.RewriteMethod rewriteMethod) Create a new AutomatonQuery from anAutomaton.FuzzyQuery(Term term, int maxEdits, int prefixLength, int maxExpansions, boolean transpositions, MultiTermQuery.RewriteMethod rewriteMethod) Create a new FuzzyQuery that will match terms with an edit distance of at mostmaxEditstoterm.MultiTermQuery(String field, MultiTermQuery.RewriteMethod rewriteMethod) Constructs a query matching terms that cannot be represented with a single Term.PrefixQuery(Term prefix, MultiTermQuery.RewriteMethod rewriteMethod) Constructs a query for terms starting withprefixusing a defined RewriteMethodRegexpQuery(Term term, int syntaxFlags, int matchFlags, AutomatonProvider provider, int determinizeWorkLimit, MultiTermQuery.RewriteMethod rewriteMethod) Constructs a query for terms matchingterm.RegexpQuery(Term term, int syntaxFlags, int matchFlags, AutomatonProvider provider, int determinizeWorkLimit, MultiTermQuery.RewriteMethod rewriteMethod, boolean doDeterminization) Constructs a query for terms matchingterm.TermInSetQuery(MultiTermQuery.RewriteMethod rewriteMethod, String field, Collection<BytesRef> terms) Creates a newTermInSetQueryfrom the given collection of terms.TermRangeQuery(String field, BytesRef lowerTerm, BytesRef upperTerm, boolean includeLower, boolean includeUpper, MultiTermQuery.RewriteMethod rewriteMethod) Constructs a query selecting all terms greater/equal thanlowerTermbut less/equal thanupperTerm.WildcardQuery(Term term, int determinizeWorkLimit, MultiTermQuery.RewriteMethod rewriteMethod) Constructs a query for terms matchingterm.