- java.lang.Object
-
- io.ebean.search.AbstractMatch
-
- Direct Known Subclasses:
Match,MultiMatch
public abstract class AbstractMatch extends Object
Options for the text match and multi match expressions.
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringanalyzerprotected doubleboostprotected doublecutoffFrequencyprotected Stringfuzzinessprotected intmaxExpansionsprotected StringminShouldMatchprotected booleanoperatorAndprotected intprefixLengthprotected Stringrewriteprotected StringzeroTerms
-
Constructor Summary
Constructors Constructor Description AbstractMatch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAnalyzer()Return the analyzer.doublegetBoost()Return the boost.doublegetCutoffFrequency()Return the cutoff frequency.StringgetFuzziness()Return the fuzziness.intgetMaxExpansions()Return the max expansions.StringgetMinShouldMatch()Return the minimum should match.intgetPrefixLength()Return the prefix length.StringgetRewrite()Return the rewrite option.StringgetZeroTerms()Return the zero terms option.booleanisOperatorAnd()Return true if using the AND operator otherwise using the OR operator.
-
-
-
Field Detail
-
operatorAnd
protected boolean operatorAnd
-
analyzer
protected String analyzer
-
boost
protected double boost
-
minShouldMatch
protected String minShouldMatch
-
maxExpansions
protected int maxExpansions
-
zeroTerms
protected String zeroTerms
-
cutoffFrequency
protected double cutoffFrequency
-
fuzziness
protected String fuzziness
-
prefixLength
protected int prefixLength
-
rewrite
protected String rewrite
-
-
Method Detail
-
isOperatorAnd
public boolean isOperatorAnd()
Return true if using the AND operator otherwise using the OR operator.
-
getBoost
public double getBoost()
Return the boost.
-
getMinShouldMatch
public String getMinShouldMatch()
Return the minimum should match.
-
getZeroTerms
public String getZeroTerms()
Return the zero terms option.
-
getCutoffFrequency
public double getCutoffFrequency()
Return the cutoff frequency.
-
getMaxExpansions
public int getMaxExpansions()
Return the max expansions.
-
getAnalyzer
public String getAnalyzer()
Return the analyzer.
-
getFuzziness
public String getFuzziness()
Return the fuzziness.
-
getPrefixLength
public int getPrefixLength()
Return the prefix length.
-
getRewrite
public String getRewrite()
Return the rewrite option.
-
-