public static Task DropIndexAsync(this ISearchIndexManager manager, string indexName, Action <DropSearchIndexOptions> configureOptions) { var options = new DropSearchIndexOptions(); configureOptions(options); return(manager.DropIndexAsync(indexName, options)); }
public static Task DropIndexAsync(this ISearchIndexManager manager, string indexName) { return(manager.DropIndexAsync(indexName, DropSearchIndexOptions.Default)); }