Table of Contents

Class ReindexOnServerRequestParameters

Namespace
Elasticsearch.Net
Assembly
Elasticsearch.Net.dll

Request options for Reindex

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

Constructors

ReindexOnServerRequestParameters()

public ReindexOnServerRequestParameters()

Properties

DefaultHttpMethod

public override HttpMethod DefaultHttpMethod { get; }

Property Value

HttpMethod

Refresh

Should the effected indexes be refreshed?

public bool? Refresh { get; set; }

Property Value

bool?

RequestsPerSecond

The throttle to set on this request in sub-requests per second. -1 means no throttle.

public long? RequestsPerSecond { get; set; }

Property Value

long?

Slices

The number of slices this task should be divided into. Defaults to 1 meaning the task isn't sliced into subtasks.

public long? Slices { get; set; }

Property Value

long?

Timeout

Time each individual bulk request should wait for shards that are unavailable.

public TimeSpan Timeout { get; set; }

Property Value

TimeSpan

WaitForActiveShards

Sets the number of shard copies that must be active before proceeding with the reindex 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

WaitForCompletion

Should the request should block until the reindex is complete.

public bool? WaitForCompletion { get; set; }

Property Value

bool?