Esempio n. 1
0
        public static Task DropIndexAsync(this ISearchIndexManager manager, string indexName, Action <DropSearchIndexOptions> configureOptions)
        {
            var options = new DropSearchIndexOptions();

            configureOptions(options);

            return(manager.DropIndexAsync(indexName, options));
        }
Esempio n. 2
0
 public static Task DropIndexAsync(this ISearchIndexManager manager, string indexName)
 {
     return(manager.DropIndexAsync(indexName, DropSearchIndexOptions.Default));
 }