Package | Description |
---|---|
org.elasticsearch.action.admin.indices.warmer.put | |
org.elasticsearch.action.search |
Search action.
|
org.elasticsearch.action.search.type | |
org.elasticsearch.client |
The client module allowing to easily perform actions/operations.
|
org.elasticsearch.client.support | |
org.elasticsearch.client.transport | |
org.elasticsearch.rest.action.search | |
org.elasticsearch.search.action | |
org.elasticsearch.search.controller | |
org.elasticsearch.search.fetch | |
org.elasticsearch.search.internal | |
org.elasticsearch.search.query |
Modifier and Type | Method and Description |
---|---|
SearchRequest |
PutWarmerRequest.searchRequest() |
Modifier and Type | Method and Description |
---|---|
PutWarmerRequest |
PutWarmerRequest.searchRequest(SearchRequest searchRequest)
Sets the search request to warm.
|
PutWarmerRequestBuilder |
PutWarmerRequestBuilder.setSearchRequest(SearchRequest searchRequest)
Sets the search request to use to warm the index when applicable.
|
Modifier and Type | Method and Description |
---|---|
SearchRequest |
SearchRequest.extraSource(byte[] source)
Allows to provide additional source that will be used as well.
|
SearchRequest |
SearchRequest.extraSource(byte[] source,
int offset,
int length)
Allows to provide additional source that will be used as well.
|
SearchRequest |
SearchRequest.extraSource(byte[] source,
int offset,
int length,
boolean unsafe)
Allows to provide additional source that will be used as well.
|
SearchRequest |
SearchRequest.extraSource(BytesReference source,
boolean unsafe)
Allows to provide additional source that will be used as well.
|
SearchRequest |
SearchRequest.extraSource(Map extraSource) |
SearchRequest |
SearchRequest.extraSource(SearchSourceBuilder sourceBuilder)
Allows to provide additional source that will be used as well.
|
SearchRequest |
SearchRequest.extraSource(String source)
Allows to provide additional source that will use used as well.
|
SearchRequest |
SearchRequest.extraSource(XContentBuilder builder) |
SearchRequest |
SearchRequest.indices(String... indices)
Sets the indices the search will be executed on.
|
SearchRequest |
SearchRequest.indicesOptions(IndicesOptions indicesOptions) |
SearchRequest |
TransportSearchAction.newRequestInstance() |
SearchRequest |
SearchRequest.preference(String preference)
Sets the preference to execute the search.
|
SearchRequest |
SearchRequest.queryCache(Boolean queryCache)
Sets if this request should use the query cache or not, assuming that it can (for
example, if "now" is used, it will never be cached).
|
SearchRequest |
SearchRequestBuilder.request() |
SearchRequest |
SearchRequest.routing(String... routings)
The routing values to control the shards that the search will be executed on.
|
SearchRequest |
SearchRequest.routing(String routing)
A comma separated list of routing values to control the shards the search will be executed on.
|
SearchRequest |
SearchRequest.scroll(Scroll scroll)
If set, will enable scrolling of the search request.
|
SearchRequest |
SearchRequest.scroll(String keepAlive)
If set, will enable scrolling of the search request for the specified timeout.
|
SearchRequest |
SearchRequest.scroll(TimeValue keepAlive)
If set, will enable scrolling of the search request for the specified timeout.
|
SearchRequest |
SearchRequest.searchType(SearchType searchType)
The search type to execute, defaults to
SearchType.DEFAULT . |
SearchRequest |
SearchRequest.searchType(String searchType)
The a string representation search type to execute, defaults to
SearchType.DEFAULT . |
SearchRequest |
SearchRequest.source(byte[] source)
The search source to execute.
|
SearchRequest |
SearchRequest.source(byte[] source,
int offset,
int length)
The search source to execute.
|
SearchRequest |
SearchRequest.source(byte[] source,
int offset,
int length,
boolean unsafe)
The search source to execute.
|
SearchRequest |
SearchRequest.source(BytesReference source,
boolean unsafe)
The search source to execute.
|
SearchRequest |
SearchRequest.source(Map source)
The source of the search request in the form of a map.
|
SearchRequest |
SearchRequest.source(SearchSourceBuilder sourceBuilder)
The source of the search request.
|
SearchRequest |
SearchRequest.source(String source)
The source of the search request.
|
SearchRequest |
SearchRequest.source(XContentBuilder builder) |
SearchRequest |
SearchRequest.templateSource(BytesReference template,
boolean unsafe)
Allows to provide template as source.
|
SearchRequest |
SearchRequest.templateSource(String template)
The template of the search request.
|
SearchRequest |
SearchRequest.types(String... types)
The document types to execute the search against.
|
Modifier and Type | Method and Description |
---|---|
List<SearchRequest> |
MultiSearchRequest.requests() |
Modifier and Type | Method and Description |
---|---|
MultiSearchRequest |
MultiSearchRequest.add(SearchRequest request)
Add a search request to execute.
|
MultiSearchRequestBuilder |
MultiSearchRequestBuilder.add(SearchRequest request)
Add a search request to execute.
|
protected void |
TransportSearchAction.doExecute(SearchRequest searchRequest,
ActionListener<SearchResponse> listener) |
Constructor and Description |
---|
SearchRequest(SearchRequest searchRequest,
ActionRequest originalRequest)
Copy constructor that creates a new search request that is a copy of the one provided as an argument.
|
Modifier and Type | Field and Description |
---|---|
protected SearchRequest |
TransportSearchTypeAction.BaseAsyncAction.request |
Modifier and Type | Method and Description |
---|---|
protected void |
TransportSearchDfsQueryThenFetchAction.doExecute(SearchRequest searchRequest,
ActionListener<SearchResponse> listener) |
protected void |
TransportSearchScanAction.doExecute(SearchRequest searchRequest,
ActionListener<SearchResponse> listener) |
protected void |
TransportSearchCountAction.doExecute(SearchRequest searchRequest,
ActionListener<SearchResponse> listener) |
protected void |
TransportSearchDfsQueryAndFetchAction.doExecute(SearchRequest searchRequest,
ActionListener<SearchResponse> listener) |
protected void |
TransportSearchQueryAndFetchAction.doExecute(SearchRequest searchRequest,
ActionListener<SearchResponse> listener) |
protected void |
TransportSearchQueryThenFetchAction.doExecute(SearchRequest searchRequest,
ActionListener<SearchResponse> listener) |
static ShardSearchTransportRequest |
TransportSearchHelper.internalSearchRequest(ShardRouting shardRouting,
int numberOfShards,
SearchRequest request,
String[] filteringAliases,
long nowInMillis,
boolean useSlowScroll) |
Constructor and Description |
---|
BaseAsyncAction(SearchRequest request,
ActionListener<SearchResponse> listener) |
Modifier and Type | Method and Description |
---|---|
static SearchRequest |
Requests.searchRequest(String... indices)
Creates a search request against one or more indices.
|
Modifier and Type | Method and Description |
---|---|
ActionFuture<SearchResponse> |
Client.search(SearchRequest request)
Search across one or more indices and one or more types with a query.
|
void |
Client.search(SearchRequest request,
ActionListener<SearchResponse> listener)
Search across one or more indices and one or more types with a query.
|
Modifier and Type | Method and Description |
---|---|
ActionFuture<SearchResponse> |
AbstractClient.search(SearchRequest request) |
void |
AbstractClient.search(SearchRequest request,
ActionListener<SearchResponse> listener) |
Modifier and Type | Method and Description |
---|---|
ActionFuture<SearchResponse> |
TransportClient.search(SearchRequest request) |
void |
TransportClient.search(SearchRequest request,
ActionListener<SearchResponse> listener) |
Modifier and Type | Method and Description |
---|---|
static SearchRequest |
RestSearchAction.parseSearchRequest(RestRequest request) |
Modifier and Type | Method and Description |
---|---|
void |
SearchServiceTransportAction.sendFreeContext(DiscoveryNode node,
long contextId,
SearchRequest request) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.ScoreDoc[] |
SearchPhaseController.getLastEmittedDocPerShard(SearchRequest request,
org.apache.lucene.search.ScoreDoc[] sortedShardList,
int numShards) |
Constructor and Description |
---|
ShardFetchSearchRequest(SearchRequest request,
long id,
com.carrotsearch.hppc.IntArrayList list) |
ShardFetchSearchRequest(SearchRequest request,
long id,
com.carrotsearch.hppc.IntArrayList list,
org.apache.lucene.search.ScoreDoc lastEmittedDoc) |
Constructor and Description |
---|
ShardSearchTransportRequest(SearchRequest searchRequest,
ShardRouting shardRouting,
int numberOfShards,
boolean useSlowScroll,
String[] filteringAliases,
long nowInMillis) |
Constructor and Description |
---|
QuerySearchRequest(SearchRequest request,
long id,
AggregatedDfs dfs) |
Copyright © 2009–2015. All rights reserved.