public static void Delete_Entry(string index_name, string type, string id) { var command = Commands.Delete(index_name, type, id); var connection = Elastic_Utils.ElsaticConnection(); bool type_exists = Elastic_Utils.IfIndexOrTypeExists(index_name + "/" + type, connection); if (type_exists) { connection.Delete(command); } }