WARNING: Version 5.x has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, 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.