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.
Status
editStatus
editThe status API allows to get comprehensive status information on one or more indices.
Status for all indices
editvar r = this.ConnectedClient.Status();
Index / Indeces
editvar r = this.ConnectedClient.Status("index"); r = this.ConnectedClient.Status(new [] {"index4", "index2" });
Typed (default index)
editvar 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 params
editvar r = this.ConnectedClient.Status(new StatusParams { Recovery = true, Snapshot = true });
The StatusResponse object provides access to the status information of each index.