Liferay 7.0-ce-b4

com.liferay.portal.kernel.search.generic
Class MoreLikeThisQuery

java.lang.Object
  extended by com.liferay.portal.kernel.search.BaseQueryImpl
      extended by com.liferay.portal.kernel.search.generic.MoreLikeThisQuery
All Implemented Interfaces:
Query, Serializable

public class MoreLikeThisQuery
extends BaseQueryImpl

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.liferay.portal.kernel.search.Query
BOOST_DEFAULT
 
Constructor Summary
MoreLikeThisQuery(long companyId)
           
 
Method Summary
<T> T
accept(QueryVisitor<T> queryVisitor)
           
 void addDocumentUID(String documentUID)
           
 void addDocumentUIDs(Collection<String> documentUIDs)
           
 void addDocumentUIDs(String... documentUIDs)
           
 void addField(String field)
           
 void addFields(Collection<String> fields)
           
 void addFields(String... fields)
           
 void addStopWord(String stopWord)
           
 void addStopWords(Collection<String> stopWords)
           
 void addStopWords(String... stopWords)
           
 String getAnalyzer()
           
 long getCompanyId()
           
 Set<String> getDocumentUIDs()
           
 List<String> getFields()
           
 String getLikeText()
           
 Integer getMaxDocFrequency()
           
 Integer getMaxQueryTerms()
           
 Integer getMaxWordLength()
           
 Integer getMinDocFrequency()
           
 String getMinShouldMatch()
           
 Integer getMinTermFrequency()
           
 Integer getMinWordLength()
           
 Set<String> getStopWords()
           
 Float getTermBoost()
           
 String getType()
           
 boolean isDocumentUIDsEmpty()
           
 boolean isFieldsEmpty()
           
 Boolean isIncludeInput()
           
 void setAnalyzer(String analyzer)
           
 void setIncludeInput(Boolean includeInput)
           
 void setLikeText(String likeText)
           
 void setMaxDocFrequency(Integer maxDocFrequency)
           
 void setMaxQueryTerms(Integer maxQueryTerms)
           
 void setMaxWordLength(Integer maxWordLength)
           
 void setMinDocFrequency(Integer minDocFrequency)
           
 void setMinShouldMatch(String minShouldMatch)
           
 void setMinTermFrequency(Integer minTermFrequency)
           
 void setMinWordLength(Integer minWordLength)
           
 void setTermBoost(Float termBoost)
           
 void setType(String type)
           
 
Methods inherited from class com.liferay.portal.kernel.search.BaseQueryImpl
getBoost, getPostFilter, getPreBooleanFilter, getQueryConfig, getWrappedQuery, hasChildren, isDefaultBoost, setBoost, setPostFilter, setPreBooleanFilter, setQueryConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoreLikeThisQuery

public MoreLikeThisQuery(long companyId)
Method Detail

accept

public <T> T accept(QueryVisitor<T> queryVisitor)
Specified by:
accept in interface Query
Overrides:
accept in class BaseQueryImpl

addDocumentUID

public void addDocumentUID(String documentUID)

addDocumentUIDs

public void addDocumentUIDs(Collection<String> documentUIDs)

addDocumentUIDs

public void addDocumentUIDs(String... documentUIDs)

addField

public void addField(String field)

addFields

public void addFields(Collection<String> fields)

addFields

public void addFields(String... fields)

addStopWord

public void addStopWord(String stopWord)

addStopWords

public void addStopWords(Collection<String> stopWords)

addStopWords

public void addStopWords(String... stopWords)

getAnalyzer

public String getAnalyzer()

getCompanyId

public long getCompanyId()

getDocumentUIDs

public Set<String> getDocumentUIDs()

getFields

public List<String> getFields()

getLikeText

public String getLikeText()

getMaxDocFrequency

public Integer getMaxDocFrequency()

getMaxQueryTerms

public Integer getMaxQueryTerms()

getMaxWordLength

public Integer getMaxWordLength()

getMinDocFrequency

public Integer getMinDocFrequency()

getMinShouldMatch

public String getMinShouldMatch()

getMinTermFrequency

public Integer getMinTermFrequency()

getMinWordLength

public Integer getMinWordLength()

getStopWords

public Set<String> getStopWords()

getTermBoost

public Float getTermBoost()

getType

public String getType()

isDocumentUIDsEmpty

public boolean isDocumentUIDsEmpty()

isFieldsEmpty

public boolean isFieldsEmpty()

isIncludeInput

public Boolean isIncludeInput()

setAnalyzer

public void setAnalyzer(String analyzer)

setIncludeInput

public void setIncludeInput(Boolean includeInput)

setLikeText

public void setLikeText(String likeText)

setMaxDocFrequency

public void setMaxDocFrequency(Integer maxDocFrequency)

setMaxQueryTerms

public void setMaxQueryTerms(Integer maxQueryTerms)

setMaxWordLength

public void setMaxWordLength(Integer maxWordLength)

setMinDocFrequency

public void setMinDocFrequency(Integer minDocFrequency)

setMinShouldMatch

public void setMinShouldMatch(String minShouldMatch)

setMinTermFrequency

public void setMinTermFrequency(Integer minTermFrequency)

setMinWordLength

public void setMinWordLength(Integer minWordLength)

setTermBoost

public void setTermBoost(Float termBoost)

setType

public void setType(String type)

Liferay 7.0-ce-b4