Class IndicesStatsDescriptor
Descriptor for Stats
https://opensearch.org/docs/latest
Inheritance
IndicesStatsDescriptor
Assembly: OpenSearch.Client.dll
Syntax
public class IndicesStatsDescriptor : RequestDescriptorBase<IndicesStatsDescriptor, IndicesStatsRequestParameters, IIndicesStatsRequest>, IDescriptor, IIndicesStatsRequest, IRequest<IndicesStatsRequestParameters>, IRequest
Constructors
|
Edit this page
View Source
IndicesStatsDescriptor()
Declaration
public IndicesStatsDescriptor()
|
Edit this page
View Source
IndicesStatsDescriptor(Indices)
Declaration
public IndicesStatsDescriptor(Indices index)
Parameters
Type |
Name |
Description |
Indices |
index |
Optional, accepts null
|
|
Edit this page
View Source
IndicesStatsDescriptor(Indices, Metrics)
Declaration
public IndicesStatsDescriptor(Indices index, Metrics metric)
Parameters
Type |
Name |
Description |
Indices |
index |
Optional, accepts null
|
Metrics |
metric |
Optional, accepts null
|
|
Edit this page
View Source
IndicesStatsDescriptor(Metrics)
Declaration
public IndicesStatsDescriptor(Metrics metric)
Parameters
Type |
Name |
Description |
Metrics |
metric |
Optional, accepts null
|
Methods
|
Edit this page
View Source
AllIndices()
A shortcut into calling Index(Indices.All)
Declaration
public IndicesStatsDescriptor AllIndices()
Returns
|
Edit this page
View Source
CompletionFields(Fields)
Comma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics.
Declaration
public IndicesStatsDescriptor CompletionFields(Fields completionfields)
Parameters
Type |
Name |
Description |
Fields |
completionfields |
|
Returns
|
Edit this page
View Source
CompletionFields<T>(params Expression<Func<T, object>>[])
Comma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics.
Declaration
public IndicesStatsDescriptor CompletionFields<T>(params Expression<Func<T, object>>[] fields) where T : class
Parameters
Returns
Type Parameters
|
Edit this page
View Source
ExpandWildcards(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 as open,hidden
.
Declaration
public IndicesStatsDescriptor ExpandWildcards(ExpandWildcards? expandwildcards)
Parameters
Returns
|
Edit this page
View Source
FielddataFields(Fields)
Comma-separated list or wildcard expressions of fields to include in fielddata statistics.
Declaration
public IndicesStatsDescriptor FielddataFields(Fields fielddatafields)
Parameters
Type |
Name |
Description |
Fields |
fielddatafields |
|
Returns
|
Edit this page
View Source
FielddataFields<T>(params Expression<Func<T, object>>[])
Comma-separated list or wildcard expressions of fields to include in fielddata statistics.
Declaration
public IndicesStatsDescriptor FielddataFields<T>(params Expression<Func<T, object>>[] fields) where T : class
Parameters
Returns
Type Parameters
|
Edit this page
View Source
Fields(Fields)
Comma-separated list or wildcard expressions of fields to include in the statistics.
Declaration
public IndicesStatsDescriptor Fields(Fields fields)
Parameters
Type |
Name |
Description |
Fields |
fields |
|
Returns
|
Edit this page
View Source
Fields<T>(params Expression<Func<T, object>>[])
Comma-separated list or wildcard expressions of fields to include in the statistics.
Declaration
public IndicesStatsDescriptor Fields<T>(params Expression<Func<T, object>>[] fields) where T : class
Parameters
Returns
Type Parameters
|
Edit this page
View Source
ForbidClosedIndices(bool?)
If true, statistics are not collected from closed indices.
Declaration
public IndicesStatsDescriptor ForbidClosedIndices(bool? forbidclosedindices = true)
Parameters
Type |
Name |
Description |
bool? |
forbidclosedindices |
|
Returns
|
Edit this page
View Source
Groups(params string[])
Comma-separated list of search groups to include in the search statistics.
Declaration
public IndicesStatsDescriptor Groups(params string[] groups)
Parameters
Type |
Name |
Description |
string[] |
groups |
|
Returns
|
Edit this page
View Source
IncludeSegmentFileSizes(bool?)
If true, the call reports the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested).
Declaration
public IndicesStatsDescriptor IncludeSegmentFileSizes(bool? includesegmentfilesizes = true)
Parameters
Type |
Name |
Description |
bool? |
includesegmentfilesizes |
|
Returns
|
Edit this page
View Source
IncludeUnloadedSegments(bool?)
If true, the response includes information from segments that are not loaded into memory.
Declaration
public IndicesStatsDescriptor IncludeUnloadedSegments(bool? includeunloadedsegments = true)
Parameters
Type |
Name |
Description |
bool? |
includeunloadedsegments |
|
Returns
|
Edit this page
View Source
Index(Indices)
A comma-separated list of index names; use the special string _all
or Indices.All to perform the operation on all indices.
Declaration
public IndicesStatsDescriptor Index(Indices index)
Parameters
Type |
Name |
Description |
Indices |
index |
|
Returns
|
Edit this page
View Source
Index<TOther>()
a shortcut into calling Index(typeof(TOther))
Declaration
public IndicesStatsDescriptor Index<TOther>() where TOther : class
Returns
Type Parameters
|
Edit this page
View Source
Level(Level?)
Indicates whether statistics are aggregated at the cluster, index, or shard level.
Declaration
public IndicesStatsDescriptor Level(Level? level)
Parameters
Type |
Name |
Description |
Level? |
level |
|
Returns
|
Edit this page
View Source
Metric(Metrics)
Limit the information returned the specific metrics.
Declaration
public IndicesStatsDescriptor Metric(Metrics metric)
Parameters
Type |
Name |
Description |
Metrics |
metric |
|
Returns
Implements
Extension Methods