public static Task UpsertIndexAsync(this ISearchIndexManager manager, SearchIndex indexDefinition, Action <UpsertSearchIndexOptions> configureOptions) { var options = new UpsertSearchIndexOptions(); configureOptions(options); return(manager.UpsertIndexAsync(indexDefinition, options)); }
public static Task UpsertIndexAsync(this ISearchIndexManager manager, SearchIndex indexDefinition) { return(manager.UpsertIndexAsync(indexDefinition, UpsertSearchIndexOptions.Default)); }