Ejemplo n.º 1
0
        public static Task UnfreezePlanAsync(this ISearchIndexManager manager, string indexName, Action <UnfreezePlanSearchIndexOptions> configureOptions)
        {
            var options = new UnfreezePlanSearchIndexOptions();

            configureOptions(options);

            return(manager.UnfreezePlanAsync(indexName, options));
        }
Ejemplo n.º 2
0
        public static Task ResumeIngestAsync(this ISearchIndexManager manager, string indexName, Action <ResumeIngestSearchIndexOptions> configureOptions)
        {
            var options = new ResumeIngestSearchIndexOptions();

            configureOptions(options);

            return(manager.ResumeIngestAsync(indexName, options));
        }
Ejemplo n.º 3
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));
        }
Ejemplo n.º 4
0
        public static Task DropIndexAsync(this ISearchIndexManager manager, string indexName, Action <DropSearchIndexOptions> configureOptions)
        {
            var options = new DropSearchIndexOptions();

            configureOptions(options);

            return(manager.DropIndexAsync(indexName, options));
        }
Ejemplo n.º 5
0
        public static Task UpsertIndexAsync(this ISearchIndexManager manager, SearchIndex indexDefinition, Action <UpsertSearchIndexOptions> configureOptions)
        {
            var options = new UpsertSearchIndexOptions();

            configureOptions(options);

            return(manager.UpsertIndexAsync(indexDefinition, options));
        }
Ejemplo n.º 6
0
        public static Task <IEnumerable <SearchIndex> > GetAllIndexesAsync(this ISearchIndexManager manager, Action <GetAllSearchIndexesOptions> configureOptions)
        {
            var options = new GetAllSearchIndexesOptions();

            configureOptions(options);

            return(manager.GetAllIndexesAsync(options));
        }
Ejemplo n.º 7
0
        public static Task DisallowQueryingAsync(this ISearchIndexManager manager, string indexName, Action <DisallowQueryingSearchIndexOptions> configureOptions)
        {
            var options = new DisallowQueryingSearchIndexOptions();

            configureOptions(options);

            return(manager.DisallowQueryingAsync(indexName, options));
        }
Ejemplo n.º 8
0
 public static Task ResumeIngestAsync(this ISearchIndexManager manager, string indexName)
 {
     return(manager.ResumeIngestAsync(indexName, ResumeIngestSearchIndexOptions.Default));
 }
Ejemplo n.º 9
0
 public static Task <int> GetIndexedDocumentsCountAsync(this ISearchIndexManager manager, string indexName)
 {
     return(manager.GetIndexedDocumentsCountAsync(indexName, GetSearchIndexDocumentCountOptions.Default));
 }
Ejemplo n.º 10
0
 public static Task DropIndexAsync(this ISearchIndexManager manager, string indexName)
 {
     return(manager.DropIndexAsync(indexName, DropSearchIndexOptions.Default));
 }
Ejemplo n.º 11
0
 public static Task UpsertIndexAsync(this ISearchIndexManager manager, SearchIndex indexDefinition)
 {
     return(manager.UpsertIndexAsync(indexDefinition, UpsertSearchIndexOptions.Default));
 }
Ejemplo n.º 12
0
 public static Task <IEnumerable <SearchIndex> > GetAllIndexesAsync(this ISearchIndexManager manager)
 {
     return(manager.GetAllIndexesAsync(GetAllSearchIndexesOptions.Default));
 }
Ejemplo n.º 13
0
 public static Task UnfreezePlanAsync(this ISearchIndexManager manager, string indexName)
 {
     return(manager.UnfreezePlanAsync(indexName, UnfreezePlanSearchIndexOptions.Default));
 }
Ejemplo n.º 14
0
 public static Task DisallowQueryingAsync(this ISearchIndexManager manager, string indexName)
 {
     return(manager.DisallowQueryingAsync(indexName, DisallowQueryingSearchIndexOptions.Default));
 }
Ejemplo n.º 15
0
 public static Task <SearchIndex> GetIndexAsync(this ISearchIndexManager manager, string indexName)
 {
     return(manager.GetIndexAsync(indexName, GetSearchIndexOptions.Default));
 }