Class MoreLikeThisQuery
Object
com.liferay.portal.kernel.search.BaseQueryImpl
com.liferay.portal.kernel.search.generic.MoreLikeThisQuery
- All Implemented Interfaces:
Query,Serializable
- Author:
- Michael C. Han
- See Also:
-
Field Summary
Fields inherited from interface 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) longgetType()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.BaseQueryImpl
getBoost, getPostFilter, getPreBooleanFilter, getQueryConfig, hasChildren, isDefaultBoost, setBoost, setPostFilter, setPreBooleanFilter, setQueryConfig
-
Constructor Details
-
MoreLikeThisQuery
public MoreLikeThisQuery(long companyId)
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceQuery- Overrides:
acceptin classBaseQueryImpl
-
addDocumentUID
-
addDocumentUIDs
-
addDocumentUIDs
-
addField
-
addFields
-
addFields
-
addStopWord
-
addStopWords
-
addStopWords
-
getAnalyzer
-
getCompanyId
public long getCompanyId() -
getDocumentUIDs
-
getFields
-
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
-