Class CountRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.cat.CatRequestBase
co.elastic.clients.elasticsearch.cat.CountRequest
Provides quick access to a document count for a data stream, an index, or an
entire cluster. NOTE: The document count only includes live documents, not
deleted documents which have not yet been removed by the merge process.
IMPORTANT: cat APIs are only intended for human consumption using the command
line or Kibana console. They are not intended for use by applications. For
application consumption, use the count API.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch.cat.CatRequestBase
CatRequestBase.AbstractBuilder<BuilderT extends CatRequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Endpoint<CountRequest,
CountResponse, ErrorResponse> Endpoint "cat.count
". -
Method Summary
Modifier and TypeMethodDescriptionindex()
Comma-separated list of data streams, indices, and aliases used to limit the request.static CountRequest
Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "cat.count
".
-
-
Method Details
-
of
-
index
Comma-separated list of data streams, indices, and aliases used to limit the request. Supports wildcards (*
). To target all data streams and indices, omit this parameter or use*
or_all
.API name:
index
-