Class ForceMergeRequestParameters
Request options for ForceMerge
https://opensearch.org/docs/latest
Implements
Inherited Members
Namespace: OpenSearch.Net.Specification.IndicesApi
Assembly: OpenSearch.Net.dll
Syntax
public class ForceMergeRequestParameters : RequestParameters<ForceMergeRequestParameters>, IRequestParameters
Properties
| Edit this page View SourceAllowNoIndices
Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes _all
string or when no indices have
been specified).
Declaration
public bool? AllowNoIndices { get; set; }
Property Value
Type | Description |
---|---|
bool? |
DefaultHttpMethod
Declaration
public override HttpMethod DefaultHttpMethod { get; }
Property Value
Type | Description |
---|---|
HttpMethod |
Overrides
| Edit this page View SourceExpandWildcards
Whether to expand wildcard expression to concrete indices that are open, closed or both.
Declaration
public ExpandWildcards? ExpandWildcards { get; set; }
Property Value
Type | Description |
---|---|
ExpandWildcards? |
Flush
Specify whether the index should be flushed after performing the operation.
Declaration
public bool? Flush { get; set; }
Property Value
Type | Description |
---|---|
bool? |
IgnoreUnavailable
Whether specified concrete indices should be ignored when unavailable (missing or closed).
Declaration
public bool? IgnoreUnavailable { get; set; }
Property Value
Type | Description |
---|---|
bool? |
MaxNumSegments
The number of larger segments into which smaller segments are merged. Set this parameter to 1 to merge all segments into one segment. The default behavior is to perform the merge as necessary.
Declaration
public long? MaxNumSegments { get; set; }
Property Value
Type | Description |
---|---|
long? |
OnlyExpungeDeletes
Specify whether the operation should only expunge deleted documents.
Declaration
public bool? OnlyExpungeDeletes { get; set; }
Property Value
Type | Description |
---|---|
bool? |
PrimaryOnly
Specify whether the operation should only perform on primary shards. Defaults to false.
Declaration
public bool? PrimaryOnly { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Remarks
Supported by OpenSearch servers of version 2.13.0 or greater.
SupportsBody
Declaration
public override bool SupportsBody { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceWaitForCompletion
Should the request wait until the force merge is completed.
Declaration
public bool? WaitForCompletion { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Remarks
Supported by OpenSearch servers of version 2.7.0 or greater.