Class MoreLikeThisQuery

java.lang.Object
org.springframework.data.elasticsearch.core.query.MoreLikeThisQuery

public class MoreLikeThisQuery extends Object
MoreLikeThisQuery
Author:
Rizwan Idrees, Mohsin Husen, Peter-Josef Meisch
  • Constructor Details

    • MoreLikeThisQuery

      public MoreLikeThisQuery()
  • Method Details

    • getId

      @Nullable public String getId()
    • setId

      public void setId(String id)
    • getSearchIndices

      public List<String> getSearchIndices()
    • addSearchIndices

      public void addSearchIndices(String... searchIndices)
    • getSearchTypes

      public List<String> getSearchTypes()
    • addSearchTypes

      public void addSearchTypes(String... searchTypes)
    • getFields

      public List<String> getFields()
    • addFields

      public void addFields(String... fields)
    • getRouting

      @Nullable public String getRouting()
    • setRouting

      public void setRouting(String routing)
    • getPercentTermsToMatch

      @Nullable public Float getPercentTermsToMatch()
    • setPercentTermsToMatch

      public void setPercentTermsToMatch(Float percentTermsToMatch)
    • getMinTermFreq

      @Nullable public Integer getMinTermFreq()
    • setMinTermFreq

      public void setMinTermFreq(Integer minTermFreq)
    • getMaxQueryTerms

      @Nullable public Integer getMaxQueryTerms()
    • setMaxQueryTerms

      public void setMaxQueryTerms(Integer maxQueryTerms)
    • getStopWords

      public List<String> getStopWords()
    • addStopWords

      public void addStopWords(String... stopWords)
    • getMinDocFreq

      @Nullable public Integer getMinDocFreq()
    • setMinDocFreq

      public void setMinDocFreq(Integer minDocFreq)
    • getMaxDocFreq

      @Nullable public Integer getMaxDocFreq()
    • setMaxDocFreq

      public void setMaxDocFreq(Integer maxDocFreq)
    • getMinWordLen

      @Nullable public Integer getMinWordLen()
    • setMinWordLen

      public void setMinWordLen(Integer minWordLen)
    • getMaxWordLen

      @Nullable public Integer getMaxWordLen()
    • setMaxWordLen

      public void setMaxWordLen(Integer maxWordLen)
    • getBoostTerms

      @Nullable public Float getBoostTerms()
    • setBoostTerms

      public void setBoostTerms(Float boostTerms)
    • getPageable

      public Pageable getPageable()
    • setPageable

      public void setPageable(Pageable pageable)