Class DeleteRequestParameters
Request options for Delete
https://opensearch.org/docs/latest/api-reference/document-apis/delete-document/
Implements
Inherited Members
Namespace: OpenSearch.Net
Assembly: OpenSearch.Net.dll
Syntax
public class DeleteRequestParameters : RequestParameters<DeleteRequestParameters>, IRequestParameters
Properties
| Edit this page View SourceDefaultHttpMethod
Declaration
public override HttpMethod DefaultHttpMethod { get; }
Property Value
Type | Description |
---|---|
HttpMethod |
Overrides
| Edit this page View SourceIfPrimaryTerm
Only perform the operation if the document has this primary term.
Declaration
public long? IfPrimaryTerm { get; set; }
Property Value
Type | Description |
---|---|
long? |
IfSequenceNumber
Only perform the operation if the document has this sequence number.
Declaration
public long? IfSequenceNumber { get; set; }
Property Value
Type | Description |
---|---|
long? |
Refresh
If true
, OpenSearch refreshes the affected shards to make this operation visible to search, if wait_for
then wait for a refresh to
make this operation visible to search, if false
do nothing with refreshes. Valid values: true
, false
, wait_for
.
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[] |
SupportsBody
Declaration
public override bool SupportsBody { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceTimeout
Period to wait for active shards.
Declaration
public TimeSpan Timeout { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
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
Type | Description |
---|---|
long? |
VersionType
Specific version type: external
, external_gte
.
Declaration
public VersionType? VersionType { get; set; }
Property Value
Type | Description |
---|---|
VersionType? |
WaitForActiveShards
The number of shard copies that must be active before proceeding with the operation. Set to all
or any positive integer up to the total
number of shards in the index (number_of_replicas+1
).
Declaration
public string WaitForActiveShards { get; set; }
Property Value
Type | Description |
---|---|
string |