Class MultiGetRequestParameters
Request options for MultiGet
<p>https://docs.opensearch.org/latest/api-reference/document-apis/multi-get/</p>
Inheritance
MultiGetRequestParameters
Namespace: OpenSearch.Net
Assembly: OpenSearch.Net.dll
Syntax
public class MultiGetRequestParameters : RequestParameters<MultiGetRequestParameters>, IRequestParameters
Properties
|
Edit this page
View Source
DefaultHttpMethod
Declaration
public override HttpMethod DefaultHttpMethod { get; }
Property Value
Overrides
|
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
Realtime
If true, the request is real time as opposed to near real time.
Declaration
public bool? Realtime { get; set; }
Property Value
|
Edit this page
View Source
Refresh
If true, the request refreshes relevant shards before retrieving documents.
Declaration
public Refresh? Refresh { 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
SourceEnabled
Set to true or false to return the _source field or not, or a list of fields to return.
Declaration
public bool? SourceEnabled { get; set; }
Property Value
|
Edit this page
View Source
SourceExcludes
A comma-separated list of source fields to exclude from the response. You can also use this parameter to exclude fields from the subset
specified in _source_includes query parameter.
Declaration
public string[] SourceExcludes { get; set; }
Property Value
|
Edit this page
View Source
SourceIncludes
A comma-separated list of source fields to include in the response. If this parameter is specified, only these source fields are returned.
You can exclude fields from this subset using the _source_excludes query parameter. If the _source parameter is
false, this parameter is ignored.
Declaration
public string[] SourceIncludes { get; set; }
Property Value
|
Edit this page
View Source
StoredFields
If true, retrieves the document fields stored in the index rather than the document _source.
Declaration
public string[] StoredFields { get; set; }
Property Value
|
Edit this page
View Source
SupportsBody
Declaration
public override bool SupportsBody { get; }
Property Value
Overrides
Implements
Extension Methods