Class CatIndicesRequest
Request for Indices
https://opensearch.org/docs/latest/api-reference/cat/cat-indices/
Inheritance
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class CatIndicesRequest : PlainRequestBase<CatIndicesRequestParameters>, ICatIndicesRequest, IRequest<CatIndicesRequestParameters>, IRequest
Constructors
| Edit this page View SourceCatIndicesRequest()
/_cat/indices
Declaration
public CatIndicesRequest()
CatIndicesRequest(Indices)
/_cat/indices/{index}
Declaration
public CatIndicesRequest(Indices index)
Parameters
Type | Name | Description |
---|---|---|
Indices | index | Optional, accepts null |
Properties
| Edit this page View SourceBytes
The unit used to display byte values.
Declaration
public ByteUnit? Bytes { get; set; }
Property Value
Type | Description |
---|---|
ByteUnit? |
ClusterManagerTimeout
Operation timeout for connection to cluster-manager node.
Declaration
public Time ClusterManagerTimeout { get; set; }
Property Value
Type | Description |
---|---|
Time |
Remarks
Supported by OpenSearch servers of version 2.0.0 or greater.
ExpandWildcards
The type of index that wildcard patterns can match.
Declaration
public ExpandWildcards? ExpandWildcards { get; set; }
Property Value
Type | Description |
---|---|
ExpandWildcards? |
Format
A short version of the Accept header (for example, json
, yaml
).
Declaration
public string Format { get; set; }
Property Value
Type | Description |
---|---|
string |
Headers
Comma-separated list of column names to display.
Declaration
public string[] Headers { get; set; }
Property Value
Type | Description |
---|---|
string[] |
Health
The health status used to limit returned indexes. By default, the response includes indexes of any health status.
Declaration
public HealthStatus? Health { get; set; }
Property Value
Type | Description |
---|---|
HealthStatus? |
Help
Return help information.
Declaration
public bool? Help { get; set; }
Property Value
Type | Description |
---|---|
bool? |
IncludeUnloadedSegments
If true
, the response includes information from segments that are not loaded into memory.
Declaration
public bool? IncludeUnloadedSegments { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Local
Return local information, do not retrieve the state from cluster-manager node.
Declaration
public bool? Local { get; set; }
Property Value
Type | Description |
---|---|
bool? |
MasterTimeout
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 Time MasterTimeout { get; set; }
Property Value
Type | Description |
---|---|
Time |
Pri
If true
, the response only includes information from primary shards.
Declaration
public bool? Pri { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Self
Declaration
protected ICatIndicesRequest Self { get; }
Property Value
Type | Description |
---|---|
ICatIndicesRequest |
SortByColumns
Comma-separated list of column names or column aliases to sort by.
Declaration
public string[] SortByColumns { get; set; }
Property Value
Type | Description |
---|---|
string[] |
Verbose
Verbose mode. Display column headers.
Declaration
public bool? Verbose { get; set; }
Property Value
Type | Description |
---|---|
bool? |