Class UpgradeRequestParameters
Request options for Upgrade
<p>https://docs.opensearch.org/latest/</p>
Implements
Inherited Members
Namespace: OpenSearch.Net.Specification.IndicesApi
Assembly: OpenSearch.Net.dll
Syntax
public class UpgradeRequestParameters : RequestParameters<UpgradeRequestParameters>, IRequestParameters
Properties
| Edit this page View SourceAllowNoIndices
Whether to ignore if a wildcard indexes expression resolves into no concrete indexes. (This includes _all string or when no indexes
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 indexes that are open, closed or both.
Declaration
public ExpandWildcards? ExpandWildcards { get; set; }
Property Value
| Type | Description |
|---|---|
| ExpandWildcards? |
IgnoreUnavailable
Whether specified concrete indexes should be ignored when unavailable (missing or closed).
Declaration
public bool? IgnoreUnavailable { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
OnlyAncientSegments
If true, only ancient (an older Lucene major release) segments will be upgraded.
Declaration
public bool? OnlyAncientSegments { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
OperationName
The OpenSearch REST API operation name this request maps to (for example search or
indices.create), used as the OpenTelemetry span name and db.operation tag.
null for requests that do not correspond to a named API operation.
Declaration
public override string OperationName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
| Edit this page View SourceSupportsBody
Declaration
public override bool SupportsBody { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
| Edit this page View SourceWaitForCompletion
Should this request wait until the operation has completed before returning.
Declaration
public bool? WaitForCompletion { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Remarks
Supported by OpenSearch servers of version 2.7.0 or greater.