Class StatsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.StatsRequest
- All Implemented Interfaces:
ElasticsearchCommonRequest
public final class StatsRequest extends RequestBase
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StatsRequest.Builder
Builder forStatsRequest
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static Endpoint<StatsRequest,StatsResponse,ElasticsearchError>
ENDPOINT
Endpoint "indices.stats
". -
Constructor Summary
Constructors Constructor Description StatsRequest(StatsRequest.Builder builder)
StatsRequest(java.util.function.Function<StatsRequest.Builder,StatsRequest.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.util.List<java.lang.String>
completionFields()
A comma-separated list of fields forfielddata
andsuggest
index metric (supports wildcards)java.util.List<ExpandWildcardOptions>
expandWildcards()
Whether to expand wildcard expression to concrete indices that are open, closed or both.java.util.List<java.lang.String>
fielddataFields()
A comma-separated list of fields forfielddata
index metric (supports wildcards)java.util.List<java.lang.String>
fields()
A comma-separated list of fields forfielddata
andcompletion
index metric (supports wildcards)java.lang.Boolean
forbidClosedIndices()
If set to false stats will also collected from closed indices if explicitly specified or if expand_wildcards expands to closed indicesjava.util.List<java.lang.String>
groups()
A comma-separated list of search groups forsearch
index metricjava.lang.Boolean
includeSegmentFileSizes()
Whether to report the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested)java.lang.Boolean
includeUnloadedSegments()
If set to true segment stats will include stats for segments that are not currently loaded into memoryjava.util.List<java.lang.String>
index()
A comma-separated list of index names; use_all
or empty string to perform the operation on all indicesLevel
level()
Return stats aggregated at cluster, index or shard leveljava.util.List<java.lang.String>
metric()
Limit the information returned the specific metrics.java.util.List<java.lang.String>
types()
A comma-separated list of document types for theindexing
index metricMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
ENDPOINT
Endpoint "indices.stats
".
-
-
Constructor Details
-
StatsRequest
-
StatsRequest
-
-
Method Details
-
metric
@Nullable public java.util.List<java.lang.String> metric()Limit the information returned the specific metrics.API name:
metric
-
index
@Nullable public java.util.List<java.lang.String> index()A comma-separated list of index names; use_all
or empty string to perform the operation on all indicesAPI name:
index
-
completionFields
@Nullable public java.util.List<java.lang.String> completionFields()A comma-separated list of fields forfielddata
andsuggest
index 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
@Nullable public java.util.List<java.lang.String> fielddataFields()A comma-separated list of fields forfielddata
index metric (supports wildcards)API name:
fielddata_fields
-
fields
@Nullable public java.util.List<java.lang.String> fields()A comma-separated list of fields forfielddata
andcompletion
index metric (supports wildcards)API name:
fields
-
forbidClosedIndices
@Nullable public java.lang.Boolean 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
@Nullable public java.util.List<java.lang.String> groups()A comma-separated list of search groups forsearch
index metricAPI name:
groups
-
includeSegmentFileSizes
@Nullable public java.lang.Boolean 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
@Nullable public java.lang.Boolean includeUnloadedSegments()If set to true segment stats will include stats for segments that are not currently loaded into memoryAPI name:
include_unloaded_segments
-
level
Return stats aggregated at cluster, index or shard levelAPI name:
level
-
types
@Nullable public java.util.List<java.lang.String> types()A comma-separated list of document types for theindexing
index metricAPI name:
types
-