Flush

edit

Flush all

edit
var r = this.ConnectedClient.Flush();

Flush index

edit
var r = this.ConnectedClient.Flush("index");

Flush several indices

edit
var r = this.ConnectedClient.Flush(new[] { "index", "index2" });

Flush by type and wait for the refresh

edit
var r = this.ConnectedClient.Flush<ElasticSearchProject>(true);