Class ClusterAllocationExplainDescriptor
Descriptor for AllocationExplain
https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-allocation/
Inheritance
ClusterAllocationExplainDescriptor
Assembly: OpenSearch.Client.dll
Syntax
public class ClusterAllocationExplainDescriptor : RequestDescriptorBase<ClusterAllocationExplainDescriptor, ClusterAllocationExplainRequestParameters, IClusterAllocationExplainRequest>, IDescriptor, IClusterAllocationExplainRequest, IRequest<ClusterAllocationExplainRequestParameters>, IRequest
Methods
|
Edit this page
View Source
IncludeDiskInfo(bool?)
If true, returns information about disk usage and shard sizes.
Declaration
public ClusterAllocationExplainDescriptor IncludeDiskInfo(bool? includediskinfo = true)
Parameters
Type |
Name |
Description |
bool? |
includediskinfo |
|
Returns
|
Edit this page
View Source
IncludeYesDecisions(bool?)
If true, returns YES decisions in explanation.
Declaration
public ClusterAllocationExplainDescriptor IncludeYesDecisions(bool? includeyesdecisions = true)
Parameters
Type |
Name |
Description |
bool? |
includeyesdecisions |
|
Returns
|
Edit this page
View Source
Index(IndexName)
The name of the index to provide an explanation for
Declaration
public ClusterAllocationExplainDescriptor Index(IndexName index)
Parameters
Returns
|
Edit this page
View Source
Index<TDocument>()
The name of the index to provide an explanation for
Declaration
public ClusterAllocationExplainDescriptor Index<TDocument>()
Returns
Type Parameters
Name |
Description |
TDocument |
|
|
Edit this page
View Source
Primary(bool?)
Whether to explain a primary or replica shard
Declaration
public ClusterAllocationExplainDescriptor Primary(bool? primary = true)
Parameters
Type |
Name |
Description |
bool? |
primary |
|
Returns
|
Edit this page
View Source
Shard(int?)
The shard id to provide an explanation for
Declaration
public ClusterAllocationExplainDescriptor Shard(int? shard)
Parameters
Type |
Name |
Description |
int? |
shard |
|
Returns
Implements
Extension Methods