Package | Description |
---|---|
org.elasticsearch.action.count |
Count action.
|
org.elasticsearch.client |
The client module allowing to easily perform actions/operations.
|
org.elasticsearch.client.support |
Modifier and Type | Method and Description |
---|---|
protected CountRequest |
CountRequestBuilder.beforeExecute(CountRequest request)
Deprecated.
|
CountRequest |
CountRequest.minScore(float minScore)
Deprecated.
The minimum score of the documents to include in the count.
|
CountRequest |
CountRequest.preference(String preference)
Deprecated.
|
CountRequest |
CountRequest.routing(String... routings)
Deprecated.
The routing values to control the shards that the search will be executed on.
|
CountRequest |
CountRequest.routing(String routing)
Deprecated.
A comma separated list of routing values to control the shards the search will be executed on.
|
CountRequest |
CountRequest.source(byte[] querySource)
Deprecated.
The source to execute.
|
CountRequest |
CountRequest.source(byte[] querySource,
int offset,
int length)
Deprecated.
The source to execute.
|
CountRequest |
CountRequest.source(BytesReference querySource)
Deprecated.
|
CountRequest |
CountRequest.source(Map querySource)
Deprecated.
The source to execute in the form of a map.
|
CountRequest |
CountRequest.source(QuerySourceBuilder sourceBuilder)
Deprecated.
The source to execute.
|
CountRequest |
CountRequest.source(String querySource)
Deprecated.
The source to execute.
|
CountRequest |
CountRequest.source(XContentBuilder builder)
Deprecated.
|
CountRequest |
CountRequest.terminateAfter(int terminateAfterCount)
Deprecated.
Upon reaching
terminateAfter counts, the count request will early terminate |
CountRequest |
CountRequest.types(String... types)
Deprecated.
The types of documents the query will run against.
|
Modifier and Type | Method and Description |
---|---|
protected CountRequest |
CountRequestBuilder.beforeExecute(CountRequest request)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CountRequest |
Requests.countRequest(String... indices)
Deprecated.
use
Requests.searchRequest(String...) instead and set size to 0 |
Modifier and Type | Method and Description |
---|---|
ActionFuture<CountResponse> |
Client.count(CountRequest request)
Deprecated.
use
Client.search(SearchRequest) instead and set size to 0 |
void |
Client.count(CountRequest request,
ActionListener<CountResponse> listener)
Deprecated.
use
Client.search(SearchRequest, ActionListener) instead and set size to 0 |
Modifier and Type | Method and Description |
---|---|
ActionFuture<CountResponse> |
AbstractClient.count(CountRequest request) |
void |
AbstractClient.count(CountRequest request,
ActionListener<CountResponse> listener) |
Copyright © 2009–2016. All rights reserved.