| Package | Description |
|---|---|
| org.elasticsearch.index.query |
| Modifier and Type | Method and Description |
|---|---|
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.addItem(MoreLikeThisQueryBuilder.Item... likeItems)
Deprecated.
|
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.addLikeItem(MoreLikeThisQueryBuilder.Item... likeItems)
Adds a document to use in order to find documents that are "like" this.
|
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.addLikeText(String... likeTexts)
Adds some text to use in order to find documents that are "like" this.
|
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.addUnlikeItem(MoreLikeThisQueryBuilder.Item... unlikeItems)
Adds a document to use in order to find documents that are "unlike" this.
|
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.addUnlikeText(String... unlikeTexts)
Adds some text to use in order to find documents that are "unlike" this.
|
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.analyzer(String analyzer)
The analyzer that will be used to analyze the text.
|
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.boost(float boost) |
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.boostTerms(float boostTerms)
Sets the boost factor to use when boosting terms.
|
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.docs(MoreLikeThisQueryBuilder.Item... docs)
Deprecated.
|
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.
|
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.ids(String... ids)
Deprecated.
|
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.ignoreLike(MoreLikeThisQueryBuilder.Item... docs)
Deprecated.
Use
unlike(Item...) instead |
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.ignoreLike(String... likeText)
Deprecated.
Use
unlike(String...) instead. |
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.include(boolean include)
Whether to include the input documents.
|
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.like(MoreLikeThisQueryBuilder.Item... likeItems)
Sets the documents to use in order to find documents that are "like" this.
|
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.like(String... likeTexts)
Sets the text to use in order to find documents that are "like" this.
|
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.likeText(String likeText)
Deprecated.
|
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()
A more like this query that finds documents that are "like" the provided
likeText(String)
which is checked against the "_all" field. |
static MoreLikeThisQueryBuilder |
QueryBuilders.moreLikeThisQuery(String... fields)
A more like this query that finds documents that are "like" the provided
likeText(String)
which is checked against the fields the query is constructed with. |
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.queryName(String queryName)
Sets the query name for the filter that can be used when searching for matched_filters per hit.
|
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.stopWords(String... stopWords)
Set the set of stopwords.
|
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.unlike(MoreLikeThisQueryBuilder.Item... unlikeItems)
Sets the documents from which the terms should not be selected from.
|
MoreLikeThisQueryBuilder |
MoreLikeThisQueryBuilder.unlike(String... unlikeTexts)
Sets the text from which the terms should not be selected from.
|
Copyright © 2009–2017. All rights reserved.