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