Class CatIndicesDescriptor
Descriptor for Indices
https://opensearch.org/docs/latest/api-reference/cat/cat-indices/
Inheritance
CatIndicesDescriptor
Assembly: OpenSearch.Client.dll
Syntax
public class CatIndicesDescriptor : RequestDescriptorBase<CatIndicesDescriptor, CatIndicesRequestParameters, ICatIndicesRequest>, IDescriptor, ICatIndicesRequest, IRequest<CatIndicesRequestParameters>, IRequest
Constructors
|
Edit this page
View Source
CatIndicesDescriptor()
Declaration
public CatIndicesDescriptor()
|
Edit this page
View Source
CatIndicesDescriptor(Indices)
Declaration
public CatIndicesDescriptor(Indices index)
Parameters
Type |
Name |
Description |
Indices |
index |
Optional, accepts null
|
Methods
|
Edit this page
View Source
AllIndices()
A shortcut into calling Index(Indices.All)
Declaration
public CatIndicesDescriptor AllIndices()
Returns
|
Edit this page
View Source
Bytes(ByteUnit?)
The unit used to display byte values.
Declaration
public CatIndicesDescriptor Bytes(ByteUnit? bytes)
Parameters
Returns
|
Edit this page
View Source
ClusterManagerTimeout(Time)
Operation timeout for connection to cluster-manager node.
Declaration
public CatIndicesDescriptor ClusterManagerTimeout(Time clustermanagertimeout)
Parameters
Type |
Name |
Description |
Time |
clustermanagertimeout |
|
Returns
|
Edit this page
View Source
ExpandWildcards(ExpandWildcards?)
The type of index that wildcard patterns can match.
Declaration
public CatIndicesDescriptor ExpandWildcards(ExpandWildcards? expandwildcards)
Parameters
Returns
|
Edit this page
View Source
A short version of the Accept header (for example, json
, yaml
).
Declaration
public CatIndicesDescriptor Format(string format)
Parameters
Type |
Name |
Description |
string |
format |
|
Returns
|
Edit this page
View Source
Comma-separated list of column names to display.
Declaration
public CatIndicesDescriptor Headers(params string[] headers)
Parameters
Type |
Name |
Description |
string[] |
headers |
|
Returns
|
Edit this page
View Source
Health(HealthStatus?)
The health status used to limit returned indexes. By default, the response includes indexes of any health status.
Declaration
public CatIndicesDescriptor Health(HealthStatus? health)
Parameters
Returns
|
Edit this page
View Source
Help(bool?)
Declaration
public CatIndicesDescriptor Help(bool? help = true)
Parameters
Type |
Name |
Description |
bool? |
help |
|
Returns
|
Edit this page
View Source
IncludeUnloadedSegments(bool?)
If true
, the response includes information from segments that are not loaded into memory.
Declaration
public CatIndicesDescriptor IncludeUnloadedSegments(bool? includeunloadedsegments = true)
Parameters
Type |
Name |
Description |
bool? |
includeunloadedsegments |
|
Returns
|
Edit this page
View Source
Index(Indices)
Comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (*
). To target all data streams and indexes, omit this parameter or use *
or _all
.
Declaration
public CatIndicesDescriptor 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 CatIndicesDescriptor Index<TOther>() where TOther : class
Returns
Type Parameters
|
Edit this page
View Source
Local(bool?)
Return local information, do not retrieve the state from cluster-manager node.
Declaration
public CatIndicesDescriptor Local(bool? local = true)
Parameters
Type |
Name |
Description |
bool? |
local |
|
Returns
|
Edit this page
View Source
MasterTimeout(Time)
Operation timeout for connection to cluster-manager node.
Declaration
[Obsolete("Deprecated as of: 2.0.0, reason: To promote inclusive language, use `cluster_manager_timeout` instead.")]
public CatIndicesDescriptor MasterTimeout(Time mastertimeout)
Parameters
Type |
Name |
Description |
Time |
mastertimeout |
|
Returns
|
Edit this page
View Source
Pri(bool?)
If true
, the response only includes information from primary shards.
Declaration
public CatIndicesDescriptor Pri(bool? pri = true)
Parameters
Type |
Name |
Description |
bool? |
pri |
|
Returns
|
Edit this page
View Source
SortByColumns(params string[])
Comma-separated list of column names or column aliases to sort by.
Declaration
public CatIndicesDescriptor SortByColumns(params string[] sortbycolumns)
Parameters
Type |
Name |
Description |
string[] |
sortbycolumns |
|
Returns
|
Edit this page
View Source
Verbose(bool?)
Verbose mode. Display column headers.
Declaration
public CatIndicesDescriptor Verbose(bool? verbose = true)
Parameters
Type |
Name |
Description |
bool? |
verbose |
|
Returns
Implements
Extension Methods