Class MatchQuery
Object
com.liferay.portal.kernel.search.BaseQueryImpl
com.liferay.portal.kernel.search.generic.MatchQuery
- All Implemented Interfaces:
Query
,Serializable
- Author:
- Michael C. Han
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static enum
static enum
static enum
-
Field Summary
Fields inherited from interface com.liferay.portal.kernel.search.Query
BOOST_DEFAULT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> T
accept
(QueryVisitor<T> queryVisitor) getField()
getSlop()
getType()
getValue()
void
setAnalyzer
(String analyzer) void
setCutOffFrequency
(Float cutOffFrequency) void
setFuzziness
(Float fuzziness) void
setFuzzyRewriteMethod
(MatchQuery.RewriteMethod fuzzyRewriteMethod) void
setFuzzyTranspositions
(Boolean fuzzyTranspositions) void
setLenient
(Boolean lenient) void
setMaxExpansions
(Integer maxExpansions) void
setMinShouldMatch
(String minShouldMatch) void
setOperator
(MatchQuery.Operator operator) void
setPrefixLength
(Integer prefixLength) void
void
setType
(MatchQuery.Type type) void
setZeroTermsQuery
(MatchQuery.ZeroTermsQuery zeroTermsQuery) toString()
Methods inherited from class com.liferay.portal.kernel.search.BaseQueryImpl
getBoost, getPostFilter, getPreBooleanFilter, getQueryConfig, hasChildren, isDefaultBoost, setBoost, setPostFilter, setPreBooleanFilter, setQueryConfig
-
Constructor Details
-
MatchQuery
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceQuery
- Overrides:
accept
in classBaseQueryImpl
-
getAnalyzer
-
getCutOffFrequency
-
getField
-
getFuzziness
-
getFuzzyRewriteMethod
-
getMaxExpansions
-
getMinShouldMatch
-
getOperator
-
getPrefixLength
-
getSlop
-
getType
-
getValue
-
getZeroTermsQuery
-
isFuzzyTranspositions
-
isLenient
-
setAnalyzer
-
setCutOffFrequency
-
setFuzziness
-
setFuzzyRewriteMethod
-
setFuzzyTranspositions
-
setLenient
-
setMaxExpansions
-
setMinShouldMatch
-
setOperator
-
setPrefixLength
-
setSlop
-
setType
-
setZeroTermsQuery
-
toString
-