java.lang.Object
io.ebean.search.AbstractMatch
io.ebean.search.Match
Options for the text match expression.
-
Field Summary
Fields inherited from class io.ebean.search.AbstractMatch
analyzer, boost, cutoffFrequency, fuzziness, maxExpansions, minShouldMatch, operatorAnd, prefixLength, rewrite, zeroTerms
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet the Analyzer to use for this expression.boost
(double boost) Set the boost.cutoffFrequency
(double cutoffFrequency) Set the cutoff frequency.boolean
isPhrase()
Return true if this is a phrase query.boolean
Return true if this is a phrase prefix query.maxExpansions
(int maxExpansions) Set the max expansions (for phrase prefix only).minShouldMatch
(String minShouldMatch) Set the rewrite to use.opAnd()
Use the AND operator (rather than OR).opOr()
Use the OR operator (rather than AND).phrase()
Set this to be a "Phrase" type expression.Set this to be a "Phrase Prefix" type expression.Set the rewrite to use.Set the zero terms.Methods inherited from class io.ebean.search.AbstractMatch
getAnalyzer, getBoost, getCutoffFrequency, getFuzziness, getMaxExpansions, getMinShouldMatch, getPrefixLength, getRewrite, getZeroTerms, isOperatorAnd
-
Field Details
-
phrase
protected boolean phrase -
phrasePrefix
protected boolean phrasePrefix
-
-
Constructor Details
-
Match
public Match()
-
-
Method Details
-
phrase
Set this to be a "Phrase" type expression. -
phrasePrefix
Set this to be a "Phrase Prefix" type expression. -
opAnd
Use the AND operator (rather than OR). -
opOr
Use the OR operator (rather than AND). -
zeroTerms
Set the zero terms. -
cutoffFrequency
Set the cutoff frequency. -
maxExpansions
Set the max expansions (for phrase prefix only). -
analyzer
Set the Analyzer to use for this expression. -
boost
Set the boost. -
minShouldMatch
Set the rewrite to use. -
rewrite
Set the rewrite to use. -
isPhrase
public boolean isPhrase()Return true if this is a phrase query. -
isPhrasePrefix
public boolean isPhrasePrefix()Return true if this is a phrase prefix query.
-