Class IndicesStatsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.IndicesStatsRequest
Returns statistics for one or more indices. For data streams, the API
retrieves statistics for the stream’s backing indices.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Endpoint<IndicesStatsRequest,
IndicesStatsResponse, ErrorResponse> Endpoint "indices.stats
". -
Method Summary
Modifier and TypeMethodDescriptionComma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics.final List<ExpandWildcard>
Type of index that wildcard patterns can match.Comma-separated list or wildcard expressions of fields to include in fielddata statistics.fields()
Comma-separated list or wildcard expressions of fields to include in the statistics.final Boolean
If true, statistics are not collected from closed indices.groups()
Comma-separated list of search groups to include in the search statistics.final Boolean
If true, the call reports the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested).final Boolean
If true, the response includes information from segments that are not loaded into memory.index()
A comma-separated list of index names; use_all
or empty string to perform the operation on all indicesfinal Level
level()
Indicates whether statistics are aggregated at the cluster, index, or shard level.metric()
Limit the information returned the specific metrics.static IndicesStatsRequest
Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "indices.stats
".
-
-
Method Details
-
of
public static IndicesStatsRequest of(Function<IndicesStatsRequest.Builder, ObjectBuilder<IndicesStatsRequest>> fn) -
completionFields
Comma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics.API name:
completion_fields
-
expandWildcards
Type of index that wildcard patterns can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams. Supports comma-separated values, such asopen,hidden
.API name:
expand_wildcards
-
fielddataFields
Comma-separated list or wildcard expressions of fields to include in fielddata statistics.API name:
fielddata_fields
-
fields
Comma-separated list or wildcard expressions of fields to include in the statistics.API name:
fields
-
forbidClosedIndices
If true, statistics are not collected from closed indices.API name:
forbid_closed_indices
-
groups
Comma-separated list of search groups to include in the search statistics.API name:
groups
-
includeSegmentFileSizes
If true, the call reports the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested).API name:
include_segment_file_sizes
-
includeUnloadedSegments
If true, the response includes information from segments that are not loaded into memory.API name:
include_unloaded_segments
-
index
A comma-separated list of index names; use_all
or empty string to perform the operation on all indicesAPI name:
index
-
level
Indicates whether statistics are aggregated at the cluster, index, or shard level.API name:
level
-
metric
Limit the information returned the specific metrics.API name:
metric
-