Table of Contents

Class DeleteRequestParameters

Namespace
Elasticsearch.Net
Assembly
Elasticsearch.Net.dll

Request options for Delete

http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete.html
public class DeleteRequestParameters : RequestParameters<DeleteRequestParameters>, IRequestParameters
Inheritance
DeleteRequestParameters
Implements
Inherited Members

Constructors

DeleteRequestParameters()

public DeleteRequestParameters()

Properties

DefaultHttpMethod

public override HttpMethod DefaultHttpMethod { get; }

Property Value

HttpMethod

Parent

ID of parent document

[Obsolete("Scheduled to be removed in 7.0, the parent parameter has been deprecated from elasticsearch, please use routing instead directly.")]
public string Parent { get; set; }

Property Value

string

Refresh

If true then refresh the effected 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 (the default) then do nothing with refreshes.

public Refresh? Refresh { get; set; }

Property Value

Refresh?

Routing

Specific routing value

public string Routing { get; set; }

Property Value

string

Timeout

Explicit operation timeout

public TimeSpan Timeout { get; set; }

Property Value

TimeSpan

Version

Explicit version number for concurrency control

public long? Version { get; set; }

Property Value

long?

VersionType

Specific version type

public VersionType? VersionType { get; set; }

Property Value

VersionType?

WaitForActiveShards

Sets the number of shard copies that must be active before proceeding with the delete operation. Defaults to 1, meaning the primary shard only. Set to all for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)

public string WaitForActiveShards { get; set; }

Property Value

string