Package io.ebean.search
Class MultiMatch
java.lang.Object
io.ebean.search.AbstractMatch
io.ebean.search.MultiMatch
public class MultiMatch extends AbstractMatch
Options for the text match expression.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMultiMatch.TypeThe MultiMatch type. -
Constructor Summary
Constructors Constructor Description MultiMatch(String... fields)Construct with a set of fields. -
Method Summary
Modifier and Type Method Description MultiMatchanalyzer(String analyzer)Set the Analyzer to use for this expression.MultiMatchboost(double boost)Set the boost.MultiMatchcutoffFrequency(double cutoffFrequency)Set the cutoff frequency.static MultiMatchfields(String... fields)Create with the given fields.String[]getFields()Return the fields to search.doublegetTieBreaker()Return the tie breaker.MultiMatch.TypegetType()Return the type.MultiMatchmaxExpansions(int maxExpansions)Set the max expansions (for phrase prefix only).MultiMatchminShouldMatch(String minShouldMatch)Set the minimum should match value.MultiMatchopAnd()Use the AND operator (rather than OR).MultiMatchopOr()Use the OR operator (rather than AND).MultiMatchrewrite(String rewrite)Set the rewrite to use.MultiMatchtieBreaker(double tieBreaker)Set the tieBreaker to use.MultiMatchtype(MultiMatch.Type type)Set the type of query.MultiMatchzeroTerms(String zeroTerms)Set the zero terms.Methods inherited from class io.ebean.search.AbstractMatch
getAnalyzer, getBoost, getCutoffFrequency, getFuzziness, getMaxExpansions, getMinShouldMatch, getPrefixLength, getRewrite, getZeroTerms, isOperatorAnd
-
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
Return the tie breaker.
-