Class DocumentExistsRequestParameters
Request options for DocumentExists
https://opensearch.org/docs/latest/api-reference/document-apis/get-documents/
Inheritance
Implements
Inherited Members
Namespace: OpenSearch.Net
Assembly: OpenSearch.Net.dll
Syntax
public class DocumentExistsRequestParameters : RequestParameters<DocumentExistsRequestParameters>, 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, OpenSearch refreshes all shards involved in the delete by query after the request completes.
Declaration
public Refresh? Refresh { get; set; }
Property Value
| Type | Description |
|---|---|
| Refresh? |
Routing
Target the specified primary shard.
Declaration
public string[] Routing { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] |
SourceEnabled
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 in the response.
Declaration
public string[] SourceExcludes { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] |
SourceIncludes
A comma-separated list of source fields to include in the response.
Declaration
public string[] SourceIncludes { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] |
StoredFields
List of stored fields to return as part of a hit. If no fields are specified, no stored fields are included in the response. If this field
is specified, the _source parameter defaults to false.
Declaration
public string[] StoredFields { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] |
SupportsBody
Declaration
public override bool SupportsBody { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
| Edit this page View SourceVersion
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
| Type | Description |
|---|---|
| long? |
VersionType
The specific version type: external, external_gte.
Declaration
public VersionType? VersionType { get; set; }
Property Value
| Type | Description |
|---|---|
| VersionType? |