Class ShrinkIndexRequestParameters
Request options for Shrink
https://opensearch.org/docs/latest/opensearch/rest-api/index-apis/shrink-index/
Implements
Inherited Members
Namespace: OpenSearch.Net.Specification.IndicesApi
Assembly: OpenSearch.Net.dll
Syntax
public class ShrinkIndexRequestParameters : RequestParameters<ShrinkIndexRequestParameters>, IRequestParameters
Properties
| Edit this page View SourceClusterManagerTimeout
Specify timeout for connection to cluster_manager node
Declaration
public TimeSpan ClusterManagerTimeout { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
Remarks
Introduced in OpenSearch 2.0 instead of MasterTimeout
DefaultHttpMethod
Declaration
public override HttpMethod DefaultHttpMethod { get; }
Property Value
Type | Description |
---|---|
HttpMethod |
Overrides
| Edit this page View SourceMasterTimeout
Specify timeout for connection to master node
Declaration
public TimeSpan MasterTimeout { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
Remarks
Deprecated as of OpenSearch 2.0, use ClusterManagerTimeout instead
SupportsBody
Declaration
public override bool SupportsBody { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceTimeout
Explicit operation timeout
Declaration
public TimeSpan Timeout { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
WaitForActiveShards
Set the number of active shards to wait for on the shrunken index before the operation returns.
Declaration
public string WaitForActiveShards { get; set; }
Property Value
Type | Description |
---|---|
string |