Class MultiSearchTemplateRequestParameters
Request options for MultiSearchTemplate
https://opensearch.org/docs/latest/search-plugins/search-template/
Inheritance
MultiSearchTemplateRequestParameters
Implements
Inherited Members
Namespace: OpenSearch.Net
Assembly: OpenSearch.Net.dll
Syntax
public class MultiSearchTemplateRequestParameters : RequestParameters<MultiSearchTemplateRequestParameters>, IRequestParameters
Properties
| Edit this page View SourceCcsMinimizeRoundtrips
If true
, network round-trips are minimized for cross-cluster search requests.
Declaration
public bool? CcsMinimizeRoundtrips { get; set; }
Property Value
Type | Description |
---|---|
bool? |
DefaultHttpMethod
Declaration
public override HttpMethod DefaultHttpMethod { get; }
Property Value
Type | Description |
---|---|
HttpMethod |
Overrides
| Edit this page View SourceMaxConcurrentSearches
Maximum number of concurrent searches the API can run.
Declaration
public long? MaxConcurrentSearches { get; set; }
Property Value
Type | Description |
---|---|
long? |
SearchType
The type of the search operation. Available options: query_then_fetch
, dfs_query_then_fetch
.
Declaration
public SearchType? SearchType { get; set; }
Property Value
Type | Description |
---|---|
SearchType? |
SupportsBody
Declaration
public override bool SupportsBody { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceTotalHitsAsInteger
If true
, the response returns hits.total
as an integer. If false
, it returns hits.total
as an object.
Declaration
public bool? TotalHitsAsInteger { get; set; }
Property Value
Type | Description |
---|---|
bool? |
TypedKeys
If true
, the response prefixes aggregation and suggester names with their respective types.
Declaration
public bool? TypedKeys { get; set; }
Property Value
Type | Description |
---|---|
bool? |