You are looking at documentation for an older release.
Not what you want? See the
current release documentation.
Flushedit
Flush alledit
var r = this.ConnectedClient.Flush();
Flush indexedit
var r = this.ConnectedClient.Flush("index");
Flush several indicesedit
var r = this.ConnectedClient.Flush(new[] { "index", "index2" });
Flush by type and wait for the refreshedit
var r = this.ConnectedClient.Flush<ElasticSearchProject>(true);