Exemple #1
0
        public static Task PauseIngestAsync(this ISearchIndexManager manager, string indexName, Action <PauseIngestSearchIndexOptions> configureOptions)
        {
            var options = new PauseIngestSearchIndexOptions();

            configureOptions(options);

            return(manager.PauseIngestAsync(indexName, options));
        }
Exemple #2
0
 public static Task PauseIngestAsync(this ISearchIndexManager manager, string indexName)
 {
     return(manager.PauseIngestAsync(indexName, PauseIngestSearchIndexOptions.Default));
 }