Class IndicesStatsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.IndicesStatsRequest
Provides statistics on operations happening in an index.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<IndicesStatsRequest,IndicesStatsResponse, ErrorResponse> Endpoint "indices.stats". -
Method Summary
Modifier and TypeMethodDescriptionA comma-separated list of fields forfielddataandsuggestindex metric (supports wildcards)final List<ExpandWildcard>Whether to expand wildcard expression to concrete indices that are open, closed or both.A comma-separated list of fields forfielddataindex metric (supports wildcards)fields()A comma-separated list of fields forfielddataandcompletionindex metric (supports wildcards)final BooleanIf set to false stats will also collected from closed indices if explicitly specified or if expand_wildcards expands to closed indicesgroups()A comma-separated list of search groups forsearchindex metricfinal BooleanWhether to report the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested)final BooleanIf set to true segment stats will include stats for segments that are not currently loaded into memoryindex()A comma-separated list of index names; use_allor empty string to perform the operation on all indicesfinal Levellevel()Return stats aggregated at cluster, index or shard levelmetric()Limit the information returned the specific metrics.static IndicesStatsRequesttypes()A comma-separated list of document types for theindexingindex metricMethods 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
A comma-separated list of fields forfielddataandsuggestindex metric (supports wildcards)API name:
completion_fields -
expandWildcards
Whether to expand wildcard expression to concrete indices that are open, closed or both.API name:
expand_wildcards -
fielddataFields
A comma-separated list of fields forfielddataindex metric (supports wildcards)API name:
fielddata_fields -
fields
A comma-separated list of fields forfielddataandcompletionindex metric (supports wildcards)API name:
fields -
forbidClosedIndices
If set to false stats will also collected from closed indices if explicitly specified or if expand_wildcards expands to closed indicesAPI name:
forbid_closed_indices -
groups
A comma-separated list of search groups forsearchindex metricAPI name:
groups -
includeSegmentFileSizes
Whether to report 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 set to true segment stats will include stats for segments that are not currently loaded into memoryAPI name:
include_unloaded_segments -
index
A comma-separated list of index names; use_allor empty string to perform the operation on all indicesAPI name:
index -
level
Return stats aggregated at cluster, index or shard levelAPI name:
level -
metric
Limit the information returned the specific metrics.API name:
metric -
types
A comma-separated list of document types for theindexingindex metricAPI name:
types
-