SearchRequestBuilder instead and set `size` to `0` and `terminate_after` to `1`@Deprecated public class ExistsRequestBuilder extends BroadcastOperationRequestBuilder<ExistsRequest,ExistsResponse,ExistsRequestBuilder>
action, client, request| コンストラクタと説明 |
|---|
ExistsRequestBuilder(ElasticsearchClient client,
ExistsAction action)
非推奨です。
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected ExistsRequest |
beforeExecute(ExistsRequest request)
非推奨です。
A callback to additionally process the request before its executed
|
ExistsRequestBuilder |
setPreference(String preference)
非推奨です。
Sets the preference to execute the search.
|
ExistsRequestBuilder |
setQuery(BytesReference queryBinary)
非推奨です。
The query binary to execute
|
ExistsRequestBuilder |
setQuery(QueryBuilder queryBuilder)
非推奨です。
The query source to execute.
|
ExistsRequestBuilder |
setRouting(String... routing)
非推奨です。
The routing values to control the shards that the search will be executed on.
|
ExistsRequestBuilder |
setRouting(String routing)
非推奨です。
A comma separated list of routing values to control the shards the search will be executed on.
|
ExistsRequestBuilder |
setSource(byte[] querySource)
非推奨です。
The query source to execute.
|
ExistsRequestBuilder |
setSource(BytesReference source)
非推奨です。
The source to execute.
|
ExistsRequestBuilder |
setTypes(String... types)
非推奨です。
The types of documents the query will run against.
|
setIndices, setIndicesOptionspublic ExistsRequestBuilder(ElasticsearchClient client, ExistsAction action)
public ExistsRequestBuilder setTypes(String... types)
public ExistsRequestBuilder setRouting(String routing)
public ExistsRequestBuilder setPreference(String preference)
public ExistsRequestBuilder setRouting(String... routing)
public ExistsRequestBuilder setQuery(QueryBuilder queryBuilder)
QueryBuilderspublic ExistsRequestBuilder setQuery(BytesReference queryBinary)
public ExistsRequestBuilder setSource(BytesReference source)
public ExistsRequestBuilder setSource(byte[] querySource)
protected ExistsRequest beforeExecute(ExistsRequest request)
ActionRequestBuilderbeforeExecute クラス内 ActionRequestBuilder<ExistsRequest,ExistsResponse,ExistsRequestBuilder>request - RequestCopyright © 2009–2016. All rights reserved.