java.lang.Object
io.ebean.search.AbstractMatch
io.ebean.search.MultiMatch
Options for the text match expression.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected final String[]
protected double
protected MultiMatch.Type
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.static MultiMatch
Create with the given fields.String[]
Return the fields to search.double
Return the tie breaker.getType()
Return the type.maxExpansions
(int maxExpansions) Set the max expansions (for phrase prefix only).minShouldMatch
(String minShouldMatch) Set the minimum should match value.opAnd()
Use the AND operator (rather than OR).opOr()
Use the OR operator (rather than AND).Set the rewrite to use.tieBreaker
(double tieBreaker) Set the tieBreaker to use.type
(MultiMatch.Type type) Set the type of query.Set the zero terms.Methods inherited from class io.ebean.search.AbstractMatch
getAnalyzer, getBoost, getCutoffFrequency, getFuzziness, getMaxExpansions, getMinShouldMatch, getPrefixLength, getRewrite, getZeroTerms, isOperatorAnd
-
Field Details
-
fields
-
type
-
tieBreaker
protected double tieBreaker
-
-
Constructor Details
-
MultiMatch
Construct with a set of fields.
-
-
Method Details
-
fields
Create with the given fields. -
type
Set the type of query. -
tieBreaker
Set the tieBreaker to use. -
opAnd
Use the AND operator (rather than OR). -
opOr
Use the OR operator (rather than AND). -
minShouldMatch
Set the minimum should match value. -
boost
Set the boost. -
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. -
rewrite
Set the rewrite to use. -
getType
Return the type. -
getFields
Return the fields to search. -
getTieBreaker
public double getTieBreaker()Return the tie breaker.
-