Class SearchShardsRequestParameters
Request options for SearchShards
<p>https://docs.opensearch.org/latest/</p>
Inheritance
SearchShardsRequestParameters
Namespace: OpenSearch.Net
Assembly: OpenSearch.Net.dll
Syntax
public class SearchShardsRequestParameters : RequestParameters<SearchShardsRequestParameters>, IRequestParameters
Properties
|
Edit this page
View Source
AllowNoIndices
If false, the request returns an error if any wildcard expression, index alias, or _all value targets only missing or closed
indexes. This behavior applies even if the request targets other open indexes. For example, a request targeting foo*,bar* returns
an error if an index starts with foo but no index starts with bar.
Declaration
public bool? AllowNoIndices { get; set; }
Property Value
|
Edit this page
View Source
DefaultHttpMethod
Declaration
public override HttpMethod DefaultHttpMethod { get; }
Property Value
Overrides
|
Edit this page
View Source
ExpandWildcards
Type of index that wildcard patterns can match. If the request can target data streams, this argument determines whether wildcard
expressions match hidden data streams. Supports comma-separated values, such as open,hidden. Valid values are: all,
open, closed, hidden, none.
Declaration
public ExpandWildcards? ExpandWildcards { get; set; }
Property Value
|
Edit this page
View Source
IgnoreUnavailable
If false, the request returns an error if it targets a missing or closed index.
Declaration
public bool? IgnoreUnavailable { get; set; }
Property Value
|
Edit this page
View Source
Local
If true, the request retrieves information from the local node only.
Declaration
public bool? Local { get; set; }
Property Value
|
Edit this page
View Source
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
Overrides
|
Edit this page
View Source
Preference
Specifies the node or shard the operation should be performed on. Random by default.
Declaration
public string Preference { get; set; }
Property Value
|
Edit this page
View Source
Routing
A custom value used to route operations to a specific shard.
Declaration
public string[] Routing { get; set; }
Property Value
|
Edit this page
View Source
SupportsBody
Declaration
public override bool SupportsBody { get; }
Property Value
Overrides
Implements
Extension Methods