Class SplitIndexRequest
A request to split an existing index into a new index, where each original primary shard is split into two or more primary shards in the new index.
Inheritance
SplitIndexRequest
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class SplitIndexRequest : PlainRequestBase<SplitIndexRequestParameters>, ISplitIndexRequest, IRequest<SplitIndexRequestParameters>, IRequest
Constructors
| Edit this page View SourceSplitIndexRequest()
Used for serialization purposes, making sure we have a parameterless constructor
Declaration
protected SplitIndexRequest()
SplitIndexRequest(IndexName, IndexName)
/{index}/_split/{target}
Declaration
public SplitIndexRequest(IndexName index, IndexName target)
Parameters
Type | Name | Description |
---|---|---|
IndexName | index | this parameter is required |
IndexName | target | this parameter is required |
Properties
| Edit this page View SourceAliases
The aliases for the target index
Declaration
public IAliases Aliases { get; set; }
Property Value
Type | Description |
---|---|
IAliases |
ClusterManagerTimeout
Specify timeout for connection to cluster_manager node
Declaration
public Time ClusterManagerTimeout { get; set; }
Property Value
Type | Description |
---|---|
Time |
Remarks
Introduced in OpenSearch 2.0 instead of MasterTimeout
MasterTimeout
Specify timeout for connection to master node
Declaration
public Time MasterTimeout { get; set; }
Property Value
Type | Description |
---|---|
Time |
Remarks
Deprecated as of OpenSearch 2.0, use ClusterManagerTimeout instead
Self
Declaration
protected ISplitIndexRequest Self { get; }
Property Value
Type | Description |
---|---|
ISplitIndexRequest |
Settings
The settings for the target index
Declaration
public IIndexSettings Settings { get; set; }
Property Value
Type | Description |
---|---|
IIndexSettings |
Timeout
Explicit operation timeout
Declaration
public Time Timeout { get; set; }
Property Value
Type | Description |
---|---|
Time |
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 |