| |
|
| java.lang.Object org.apache.lucene.search.Query org.apache.lucene.search.similar.MoreLikeThisQuery
MoreLikeThisQuery | public class MoreLikeThisQuery extends Query (Code) | | A simple wrapper for MoreLikeThis for use in scenarios where a Query object is required eg
in custom QueryParser extensions. At query.rewrite() time the reader is used to construct the
actual MoreLikeThis object and obtain the real Query object.
author: maharwood |
maxQueryTerms | int maxQueryTerms(Code) | | |
minDocFreq | int minDocFreq(Code) | | |
minTermFrequency | int minTermFrequency(Code) | | |
percentTermsToMatch | float percentTermsToMatch(Code) | | |
MoreLikeThisQuery | public MoreLikeThisQuery(String likeText, String[] moreLikeFields, Analyzer analyzer)(Code) | | Parameters: moreLikeFields - |
getMaxQueryTerms | public int getMaxQueryTerms()(Code) | | |
getMinDocFreq | public int getMinDocFreq()(Code) | | |
getMinTermFrequency | public int getMinTermFrequency()(Code) | | |
getPercentTermsToMatch | public float getPercentTermsToMatch()(Code) | | |
setMaxQueryTerms | public void setMaxQueryTerms(int maxQueryTerms)(Code) | | |
setMinDocFreq | public void setMinDocFreq(int minDocFreq)(Code) | | |
setMinTermFrequency | public void setMinTermFrequency(int minTermFrequency)(Code) | | |
setMoreLikeFields | public void setMoreLikeFields(String[] moreLikeFields)(Code) | | |
setPercentTermsToMatch | public void setPercentTermsToMatch(float percentTermsToMatch)(Code) | | |
setStopWords | public void setStopWords(Set stopWords)(Code) | | |
|
|
|