Package | Description |
---|---|
org.elasticsearch.action.mlt |
More Like This action.
|
org.elasticsearch.client |
The client module allowing to easily perform actions/operations.
|
org.elasticsearch.client.support | |
org.elasticsearch.client.transport |
Modifier and Type | Method and Description |
---|---|
MoreLikeThisRequest |
MoreLikeThisRequest.boostTerms(float boostTerms)
The boost factor to use when boosting terms.
|
MoreLikeThisRequest |
MoreLikeThisRequest.fields(String... fields)
The fields of the document to use in order to find documents "like" this one.
|
MoreLikeThisRequest |
MoreLikeThisRequest.id(String id)
The id of document to load from which the "like" query will execute with.
|
MoreLikeThisRequest |
MoreLikeThisRequest.include(boolean include)
Whether to include the queried document.
|
MoreLikeThisRequest |
MoreLikeThisRequest.maxDocFreq(int maxDocFreq)
The maximum frequency in which words may still appear.
|
MoreLikeThisRequest |
MoreLikeThisRequest.maxQueryTerms(int maxQueryTerms)
The maximum number of query terms that will be included in any generated query.
|
MoreLikeThisRequest |
MoreLikeThisRequest.maxWordLength(int maxWordLength)
The maximum word length above which words will be ignored.
|
MoreLikeThisRequest |
MoreLikeThisRequest.minDocFreq(int minDocFreq)
The frequency at which words will be ignored which do not occur in at least this
many docs.
|
MoreLikeThisRequest |
MoreLikeThisRequest.minimumShouldMatch(String minimumShouldMatch)
Number of terms that must match the generated query expressed in the
common syntax for minimum should match.
|
MoreLikeThisRequest |
MoreLikeThisRequest.minTermFreq(int minTermFreq)
The frequency below which terms will be ignored in the source doc.
|
MoreLikeThisRequest |
MoreLikeThisRequest.minWordLength(int minWordLength)
The minimum word length below which words will be ignored.
|
MoreLikeThisRequest |
TransportMoreLikeThisAction.newRequestInstance() |
MoreLikeThisRequest |
MoreLikeThisRequest.percentTermsToMatch(float percentTermsToMatch)
Deprecated.
|
MoreLikeThisRequest |
MoreLikeThisRequest.searchFrom(int from)
From which search result set to return.
|
MoreLikeThisRequest |
MoreLikeThisRequest.searchIndices(String... searchIndices)
The indices the resulting mlt query will run against.
|
MoreLikeThisRequest |
MoreLikeThisRequest.searchScroll(Scroll searchScroll)
An optional search scroll request to be able to continue and scroll the search
operation.
|
MoreLikeThisRequest |
MoreLikeThisRequest.searchSize(int size)
The number of documents to return, defaults to 10.
|
MoreLikeThisRequest |
MoreLikeThisRequest.searchSource(byte[] searchSource)
An optional search source request allowing to control the search request for the
more like this documents.
|
MoreLikeThisRequest |
MoreLikeThisRequest.searchSource(byte[] searchSource,
int offset,
int length,
boolean unsafe)
An optional search source request allowing to control the search request for the
more like this documents.
|
MoreLikeThisRequest |
MoreLikeThisRequest.searchSource(BytesReference searchSource,
boolean unsafe)
An optional search source request allowing to control the search request for the
more like this documents.
|
MoreLikeThisRequest |
MoreLikeThisRequest.searchSource(Map searchSource) |
MoreLikeThisRequest |
MoreLikeThisRequest.searchSource(SearchSourceBuilder sourceBuilder)
An optional search source request allowing to control the search request for the
more like this documents.
|
MoreLikeThisRequest |
MoreLikeThisRequest.searchSource(String searchSource)
An optional search source request allowing to control the search request for the
more like this documents.
|
MoreLikeThisRequest |
MoreLikeThisRequest.searchSource(XContentBuilder builder) |
MoreLikeThisRequest |
MoreLikeThisRequest.searchType(SearchType searchType)
The search type of the mlt search query.
|
MoreLikeThisRequest |
MoreLikeThisRequest.searchType(String searchType)
The search type of the mlt search query.
|
MoreLikeThisRequest |
MoreLikeThisRequest.searchTypes(String... searchTypes)
The types the resulting mlt query will run against.
|
MoreLikeThisRequest |
MoreLikeThisRequest.stopWords(String... stopWords)
Any word in this set is considered "uninteresting" and ignored.
|
MoreLikeThisRequest |
MoreLikeThisRequest.type(String type)
The type of document to load from which the "like" query will execute with.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TransportMoreLikeThisAction.doExecute(MoreLikeThisRequest request,
ActionListener<SearchResponse> listener) |
Modifier and Type | Method and Description |
---|---|
static MoreLikeThisRequest |
Requests.moreLikeThisRequest(String index)
More like this request represents a request to search for documents that are "like" the provided (fetched)
document.
|
Modifier and Type | Method and Description |
---|---|
ActionFuture<SearchResponse> |
Client.moreLikeThis(MoreLikeThisRequest request)
A more like this action to search for documents that are "like" a specific document.
|
void |
Client.moreLikeThis(MoreLikeThisRequest request,
ActionListener<SearchResponse> listener)
A more like this action to search for documents that are "like" a specific document.
|
Modifier and Type | Method and Description |
---|---|
ActionFuture<SearchResponse> |
AbstractClient.moreLikeThis(MoreLikeThisRequest request) |
void |
AbstractClient.moreLikeThis(MoreLikeThisRequest request,
ActionListener<SearchResponse> listener) |
Modifier and Type | Method and Description |
---|---|
ActionFuture<SearchResponse> |
TransportClient.moreLikeThis(MoreLikeThisRequest request) |
void |
TransportClient.moreLikeThis(MoreLikeThisRequest request,
ActionListener<SearchResponse> listener) |
Copyright © 2009–2015. All rights reserved.