Class MultiSearchRequestParameters
Request options for MultiSearch
<p>https://docs.opensearch.org/latest/api-reference/multi-search/</p>
Inheritance
MultiSearchRequestParameters
Namespace: OpenSearch.Net
Assembly: OpenSearch.Net.dll
Syntax
public class MultiSearchRequestParameters : RequestParameters<MultiSearchRequestParameters>, IRequestParameters
Properties
|
Edit this page
View Source
AllowPartialResults
Specifies whether to return partial results if there are shard request timeouts or shard failures.
Declaration
public bool? AllowPartialResults { get; set; }
Property Value
|
Edit this page
View Source
CcsMinimizeRoundtrips
If true, network round-trips between the coordinating node and remote clusters are minimized for cross-cluster search requests.
Declaration
public bool? CcsMinimizeRoundtrips { get; set; }
Property Value
|
Edit this page
View Source
DefaultHttpMethod
Declaration
public override HttpMethod DefaultHttpMethod { get; }
Property Value
Overrides
|
Edit this page
View Source
MaxConcurrentSearches
Maximum number of concurrent searches the multi search API can execute.
Declaration
public int? MaxConcurrentSearches { get; set; }
Property Value
|
Edit this page
View Source
MaxConcurrentShardRequests
Maximum number of concurrent shard requests that each sub-search request executes per node.
Declaration
public int? MaxConcurrentShardRequests { 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
PreFilterShardSize
Defines a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the
search request expands to exceeds the threshold. This filter roundtrip can limit the number of shards significantly if for instance a
shard can not match any documents based on its rewrite method i.e., if date filters are mandatory to match but the shard bounds and the
query are disjoint.
Declaration
public int? PreFilterShardSize { get; set; }
Property Value
|
Edit this page
View Source
SearchType
Indicates whether global term and document frequencies should be used when scoring returned documents.
Declaration
public SearchType? SearchType { get; set; }
Property Value
|
Edit this page
View Source
SupportsBody
Declaration
public override bool SupportsBody { get; }
Property Value
Overrides
|
Edit this page
View Source
TotalHitsAsInteger
If true, hits.total are returned as an integer in the response. Defaults to false, which returns an object.
Declaration
public bool? TotalHitsAsInteger { get; set; }
Property Value
|
Edit this page
View Source
TypedKeys
Specifies whether aggregation and suggester names should be prefixed by their respective types in the response.
Declaration
public bool? TypedKeys { get; set; }
Property Value
Implements
Extension Methods