SearchRequestBuilder instead and set size to 0@Deprecated public class CountRequestBuilder extends BroadcastOperationRequestBuilder<CountRequest,CountResponse,CountRequestBuilder>
action, client, request| コンストラクタと説明 |
|---|
CountRequestBuilder(ElasticsearchClient client,
CountAction action)
非推奨です。
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected CountRequest |
beforeExecute(CountRequest request)
非推奨です。
A callback to additionally process the request before its executed
|
void |
execute(ActionListener<CountResponse> listener)
非推奨です。
|
CountRequestBuilder |
setMinScore(float minScore)
非推奨です。
The minimum score of the documents to include in the count.
|
CountRequestBuilder |
setPreference(String preference)
非推奨です。
Sets the preference to execute the search.
|
CountRequestBuilder |
setQuery(BytesReference queryBinary)
非推奨です。
The query binary to execute
|
CountRequestBuilder |
setQuery(QueryBuilder queryBuilder)
非推奨です。
The query source to execute.
|
CountRequestBuilder |
setQuery(XContentBuilder query)
非推奨です。
Constructs a new builder with a raw search query.
|
CountRequestBuilder |
setRouting(String... routing)
非推奨です。
The routing values to control the shards that the search will be executed on.
|
CountRequestBuilder |
setRouting(String routing)
非推奨です。
A comma separated list of routing values to control the shards the search will be executed on.
|
CountRequestBuilder |
setSource(byte[] querySource)
非推奨です。
The query source to execute.
|
CountRequestBuilder |
setSource(BytesReference source)
非推奨です。
The source to execute.
|
CountRequestBuilder |
setTerminateAfter(int terminateAfter)
非推奨です。
|
CountRequestBuilder |
setTypes(String... types)
非推奨です。
The types of documents the query will run against.
|
String |
toString()
非推奨です。
|
setIndices, setIndicesOptionspublic CountRequestBuilder(ElasticsearchClient client, CountAction action)
public CountRequestBuilder setTypes(String... types)
public CountRequestBuilder setMinScore(float minScore)
public CountRequestBuilder setRouting(String routing)
public CountRequestBuilder setPreference(String preference)
public CountRequestBuilder setRouting(String... routing)
public CountRequestBuilder setQuery(QueryBuilder queryBuilder)
QueryBuilderspublic CountRequestBuilder setQuery(BytesReference queryBinary)
public CountRequestBuilder setQuery(XContentBuilder query)
public CountRequestBuilder setSource(BytesReference source)
public CountRequestBuilder setSource(byte[] querySource)
public CountRequestBuilder setTerminateAfter(int terminateAfter)
protected CountRequest beforeExecute(CountRequest request)
ActionRequestBuilderbeforeExecute クラス内 ActionRequestBuilder<CountRequest,CountResponse,CountRequestBuilder>request - Requestpublic void execute(ActionListener<CountResponse> listener)
execute クラス内 ActionRequestBuilder<CountRequest,CountResponse,CountRequestBuilder>Copyright © 2009–2016. All rights reserved.