Class SourceRequestParameters
Request options for Source
<p>https://docs.opensearch.org/latest/api-reference/document-apis/get-documents/</p>
Inheritance
SourceRequestParameters
Namespace: OpenSearch.Net
Assembly: OpenSearch.Net.dll
Syntax
public class SourceRequestParameters : RequestParameters<SourceRequestParameters>, 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
Boolean) 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, OpenSearch refreshes the affected shards to make this operation visible to search. If false, do nothing with
refreshes.
Declaration
public Refresh? Refresh { get; set; }
Property Value
|
Edit this page
View Source
Routing
Target the specified primary 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 in the response.
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.
Declaration
public string[] SourceIncludes { get; set; }
Property Value
|
Edit this page
View Source
SupportsBody
Declaration
public override bool SupportsBody { get; }
Property Value
Overrides
|
Edit this page
View Source
Version
Explicit version number for concurrency control. The specified version must match the current version of the document for the request to
succeed.
Declaration
public long? Version { get; set; }
Property Value
|
Edit this page
View Source
VersionType
The specific version type. One of internal, external, external_gte.
Declaration
public VersionType? VersionType { get; set; }
Property Value
Implements
Extension Methods