예제 #1
0
        public static Task FreezePlanAsync(this ISearchIndexManager manager, string indexName, Action <FreezePlanSearchIndexOptions> configureOptions)
        {
            var options = new FreezePlanSearchIndexOptions();

            configureOptions(options);

            return(manager.FreezePlanAsync(indexName, options));
        }
예제 #2
0
 public static Task FreezePlanAsync(this ISearchIndexManager manager, string indexName)
 {
     return(manager.FreezePlanAsync(indexName, FreezePlanSearchIndexOptions.Default));
 }