Class MultiGetRequestParameters
Request options for MultiGet
https://opensearch.org/docs/latest/api-reference/document-apis/multi-get/
Implements
Inherited Members
Namespace: OpenSearch.Net
Assembly: OpenSearch.Net.dll
Syntax
public class MultiGetRequestParameters : RequestParameters<MultiGetRequestParameters>, IRequestParameters
Properties
| Edit this page View SourceDefaultHttpMethod
Declaration
public override HttpMethod DefaultHttpMethod { get; }
Property Value
Type | Description |
---|---|
HttpMethod |
Overrides
| Edit this page View SourcePreference
Specifies the node or shard the operation should be performed on. Random by default.
Declaration
public string Preference { get; set; }
Property Value
Type | Description |
---|---|
string |
Realtime
If true
, the request is real-time as opposed to near-real-time.
Declaration
public bool? Realtime { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Refresh
If true
, the request refreshes relevant shards before retrieving documents.
Declaration
public Refresh? Refresh { get; set; }
Property Value
Type | Description |
---|---|
Refresh? |
Routing
Custom value used to route operations to a specific shard.
Declaration
public string[] Routing { get; set; }
Property Value
Type | Description |
---|---|
string[] |
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
Type | Description |
---|---|
bool? |
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
Type | Description |
---|---|
string[] |
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
Type | Description |
---|---|
string[] |
StoredFields
If true
, retrieves the document fields stored in the index rather than the document _source
.
Declaration
public string[] StoredFields { get; set; }
Property Value
Type | Description |
---|---|
string[] |
SupportsBody
Declaration
public override bool SupportsBody { get; }
Property Value
Type | Description |
---|---|
bool |