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

            configureOptions(options);

            return(manager.GetIndexedDocumentsCountAsync(indexName, options));
        }
Esempio n. 2
0
 public static Task <int> GetIndexedDocumentsCountAsync(this ISearchIndexManager manager, string indexName)
 {
     return(manager.GetIndexedDocumentsCountAsync(indexName, GetSearchIndexDocumentCountOptions.Default));
 }