public static Task UnfreezePlanAsync(this ISearchIndexManager manager, string indexName, Action <UnfreezePlanSearchIndexOptions> configureOptions) { var options = new UnfreezePlanSearchIndexOptions(); configureOptions(options); return(manager.UnfreezePlanAsync(indexName, options)); }
public static Task ResumeIngestAsync(this ISearchIndexManager manager, string indexName, Action <ResumeIngestSearchIndexOptions> configureOptions) { var options = new ResumeIngestSearchIndexOptions(); configureOptions(options); return(manager.ResumeIngestAsync(indexName, options)); }
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 DropIndexAsync(this ISearchIndexManager manager, string indexName, Action <DropSearchIndexOptions> configureOptions) { var options = new DropSearchIndexOptions(); configureOptions(options); return(manager.DropIndexAsync(indexName, options)); }
public static Task UpsertIndexAsync(this ISearchIndexManager manager, SearchIndex indexDefinition, Action <UpsertSearchIndexOptions> configureOptions) { var options = new UpsertSearchIndexOptions(); configureOptions(options); return(manager.UpsertIndexAsync(indexDefinition, options)); }
public static Task <IEnumerable <SearchIndex> > GetAllIndexesAsync(this ISearchIndexManager manager, Action <GetAllSearchIndexesOptions> configureOptions) { var options = new GetAllSearchIndexesOptions(); configureOptions(options); return(manager.GetAllIndexesAsync(options)); }
public static Task DisallowQueryingAsync(this ISearchIndexManager manager, string indexName, Action <DisallowQueryingSearchIndexOptions> configureOptions) { var options = new DisallowQueryingSearchIndexOptions(); configureOptions(options); return(manager.DisallowQueryingAsync(indexName, options)); }
public static Task ResumeIngestAsync(this ISearchIndexManager manager, string indexName) { return(manager.ResumeIngestAsync(indexName, ResumeIngestSearchIndexOptions.Default)); }
public static Task <int> GetIndexedDocumentsCountAsync(this ISearchIndexManager manager, string indexName) { return(manager.GetIndexedDocumentsCountAsync(indexName, GetSearchIndexDocumentCountOptions.Default)); }
public static Task DropIndexAsync(this ISearchIndexManager manager, string indexName) { return(manager.DropIndexAsync(indexName, DropSearchIndexOptions.Default)); }
public static Task UpsertIndexAsync(this ISearchIndexManager manager, SearchIndex indexDefinition) { return(manager.UpsertIndexAsync(indexDefinition, UpsertSearchIndexOptions.Default)); }
public static Task <IEnumerable <SearchIndex> > GetAllIndexesAsync(this ISearchIndexManager manager) { return(manager.GetAllIndexesAsync(GetAllSearchIndexesOptions.Default)); }
public static Task UnfreezePlanAsync(this ISearchIndexManager manager, string indexName) { return(manager.UnfreezePlanAsync(indexName, UnfreezePlanSearchIndexOptions.Default)); }
public static Task DisallowQueryingAsync(this ISearchIndexManager manager, string indexName) { return(manager.DisallowQueryingAsync(indexName, DisallowQueryingSearchIndexOptions.Default)); }
public static Task <SearchIndex> GetIndexAsync(this ISearchIndexManager manager, string indexName) { return(manager.GetIndexAsync(indexName, GetSearchIndexOptions.Default)); }