Package com.liferay.portal.kernel.search
Class MoreLikeThisQuery
java.lang.Object
com.liferay.portal.kernel.search.Query
com.liferay.portal.kernel.search.MoreLikeThisQuery
- All Implemented Interfaces:
Serializable
- Author:
- Michael C. Han
- See Also:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.search.Query
BOOST_DEFAULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(QueryVisitor<T> queryVisitor) voidaddDocumentUID(String documentUID) voidaddDocumentUIDs(String... documentUIDs) voidaddDocumentUIDs(Collection<String> documentUIDs) voidvoidvoidaddFields(Collection<String> fields) voidaddStopWord(String stopWord) voidaddStopWords(String... stopWords) voidaddStopWords(Collection<String> stopWords) getType()Deprecated.As of Cavanaugh (7.4.x), with no direct replacementbooleanbooleanvoidsetAnalyzer(String analyzer) voidsetIncludeInput(Boolean includeInput) voidsetLikeText(String likeText) voidsetMaxDocFrequency(Integer maxDocFrequency) voidsetMaxQueryTerms(Integer maxQueryTerms) voidsetMaxWordLength(Integer maxWordLength) voidsetMinDocFrequency(Integer minDocFrequency) voidsetMinShouldMatch(String minShouldMatch) voidsetMinTermFrequency(Integer minTermFrequency) voidsetMinWordLength(Integer minWordLength) voidsetTermBoost(Float termBoost) voidDeprecated.As of Cavanaugh (7.4.x), with no direct replacementtoString()Methods inherited from class com.liferay.portal.kernel.search.Query
getBoost, getPostFilter, getPreBooleanFilter, getQueryConfig, hasChildren, isDefaultBoost, setBoost, setPostFilter, setPreBooleanFilter, setQueryConfig
-
Constructor Details
-
MoreLikeThisQuery
-
-
Method Details
-
accept
-
addDocumentUID
-
addDocumentUIDs
-
addDocumentUIDs
-
addField
-
addFields
-
addFields
-
addStopWord
-
addStopWords
-
addStopWords
-
getAnalyzer
-
getDocumentUIDs
-
getFields
-
getIndexName
-
getLikeText
-
getMaxDocFrequency
-
getMaxQueryTerms
-
getMaxWordLength
-
getMinDocFrequency
-
getMinShouldMatch
-
getMinTermFrequency
-
getMinWordLength
-
getStopWords
-
getTermBoost
-
getType
Deprecated.As of Cavanaugh (7.4.x), with no direct replacement -
isDocumentUIDsEmpty
public boolean isDocumentUIDsEmpty() -
isFieldsEmpty
public boolean isFieldsEmpty() -
isIncludeInput
-
setAnalyzer
-
setIncludeInput
-
setLikeText
-
setMaxDocFrequency
-
setMaxQueryTerms
-
setMaxWordLength
-
setMinDocFrequency
-
setMinShouldMatch
-
setMinTermFrequency
-
setMinWordLength
-
setTermBoost
-
setType
Deprecated.As of Cavanaugh (7.4.x), with no direct replacement -
toString
-