Package | Description |
---|---|
org.elasticsearch.action.suggest |
Suggest action.
|
org.elasticsearch.client |
The client module allowing to easily perform actions/operations.
|
org.elasticsearch.client.support |
Modifier and Type | Method and Description |
---|---|
<T> SuggestRequestBuilder |
SuggestRequestBuilder.addSuggestion(SuggestBuilder.SuggestionBuilder<T> suggestion)
Add a definition for suggestions to the request
|
SuggestRequestBuilder |
SuggestAction.newRequestBuilder(Client client) |
SuggestRequestBuilder |
SuggestRequestBuilder.setPreference(String preference)
Sets the preference to execute the search.
|
SuggestRequestBuilder |
SuggestRequestBuilder.setRouting(String... routing)
The routing values to control the shards that the search will be executed on.
|
SuggestRequestBuilder |
SuggestRequestBuilder.setRouting(String routing)
A comma separated list of routing values to control the shards the search will be executed on.
|
SuggestRequestBuilder |
SuggestRequestBuilder.setSuggestText(String globalText) |
Modifier and Type | Method and Description |
---|---|
SuggestRequestBuilder |
Client.prepareSuggest(String... indices)
Suggestions matching a specific phrase.
|
Modifier and Type | Method and Description |
---|---|
SuggestRequestBuilder |
AbstractClient.prepareSuggest(String... indices) |
Copyright © 2009–2015. All rights reserved.