Hi,
I am new to Elastic search, and was trying to check an Index before creating a new one.
I am able to check it through IndexExists method but not by IndexExistsAsync. I have followed some of articles here in Elastic forum, but still unable to implement IndexExistsAsync method.
var client = new ElasticClient();
var existsResponse = await client.IndexExistsAsync("index_name");
if (existsResponse.Exists)
{
Console.WriteLine("It exists");
}
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.