MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.analyzer(String analyzer) |
The analyzer that will be used to analyze the text.
|
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.boostTerms(float boostTerms) |
Sets the boost factor to use when boosting terms.
|
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.failOnUnsupportedField(boolean fail) |
Whether to fail or return no result when this query is run against a field which is not supported such as binary/numeric fields.
|
static MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.fromXContent(XContentParser parser) |
|
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.include(boolean include) |
Whether to include the input documents.
|
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.maxDocFreq(int maxDocFreq) |
Set the maximum frequency in which words may still appear.
|
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.maxQueryTerms(int maxQueryTerms) |
Sets the maximum number of query terms that will be included in any generated query.
|
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.maxWordLength(int maxWordLength) |
Sets the maximum word length above which words will be ignored.
|
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.minDocFreq(int minDocFreq) |
Sets the frequency at which words will be ignored which do not occur in at least this
many docs.
|
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.minimumShouldMatch(String minimumShouldMatch) |
Number of terms that must match the generated query expressed in the
common syntax for minimum should match.
|
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.minTermFreq(int minTermFreq) |
The frequency below which terms will be ignored in the source doc.
|
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.minWordLength(int minWordLength) |
Sets the minimum word length below which words will be ignored.
|
static MoreLikeThisQueryBuilder |
QueryBuilders.moreLikeThisQuery(String[] likeTexts) |
A more like this query that finds documents that are "like" the provided texts which is checked against the
"_all" field.
|
static MoreLikeThisQueryBuilder |
QueryBuilders.moreLikeThisQuery(String[] fields,
String[] likeTexts,
MoreLikeThisQueryBuilder.Item[] likeItems) |
A more like this query that finds documents that are "like" the provided texts or documents which is checked
against the fields the query is constructed with.
|
static MoreLikeThisQueryBuilder |
QueryBuilders.moreLikeThisQuery(String[] likeTexts,
MoreLikeThisQueryBuilder.Item[] likeItems) |
A more like this query that finds documents that are "like" the provided texts or documents which is checked
against the "_all" field.
|
static MoreLikeThisQueryBuilder |
QueryBuilders.moreLikeThisQuery(MoreLikeThisQueryBuilder.Item[] likeItems) |
A more like this query that finds documents that are "like" the provided documents which is checked against the
"_all" field.
|
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.stopWords(String... stopWords) |
Set the set of stopwords.
|
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.stopWords(List<String> stopWords) |
|
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.unlike(String[] unlikeTexts) |
Sets the text from which the terms should not be selected from.
|
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.unlike(MoreLikeThisQueryBuilder.Item[] unlikeItems) |
Sets the documents from which the terms should not be selected from.
|