You are looking at documentation for an older release.
Not what you want? See the
current release documentation.
Statusedit
The status API allows to get comprehensive status information on one or more indices.
Status for all indicesedit
var r = this.ConnectedClient.Status();
Index / Indecesedit
var r = this.ConnectedClient.Status("index"); r = this.ConnectedClient.Status(new [] {"index4", "index2" });
Typed (default index)edit
var r = this.ConnectedClient.Status<ElasticSearchProject>();
In order to see the recovery status of shards, or the snapshot status, pass a StatusParams object. There is an overload for each Status method.
Index with paramsedit
var r = this.ConnectedClient.Status(new StatusParams { Recovery = true, Snapshot = true });
The StatusResponse object provides access to the status information of each index.