Table of Contents

Interface IMongoSearchIndexManager

Namespace
MongoDB.Driver.Search
Assembly
MongoDB.Driver.dll

An interface representing methods used to create, delete and modify search indexes.

public interface IMongoSearchIndexManager

Methods

CreateMany(IEnumerable<CreateSearchIndexModel>, CancellationToken)

Creates multiple indexes.

CreateManyAsync(IEnumerable<CreateSearchIndexModel>, CancellationToken)

Creates multiple indexes.

CreateOne(BsonDocument, string, CancellationToken)

Creates a search index.

CreateOne(CreateSearchIndexModel, CancellationToken)

Creates a search index.

CreateOneAsync(BsonDocument, string, CancellationToken)

Creates a search index.

CreateOneAsync(CreateSearchIndexModel, CancellationToken)

Creates a search index.

DropOne(string, CancellationToken)

Drops an index by its name.

DropOneAsync(string, CancellationToken)

Drops an index by its name.

List(string, AggregateOptions, CancellationToken)

Lists the search indexes.

ListAsync(string, AggregateOptions, CancellationToken)

Lists the search indexes.

Update(string, BsonDocument, CancellationToken)

Update the search index.

UpdateAsync(string, BsonDocument, CancellationToken)

Update the search index.