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