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