Table of Contents

Method List

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

List(string, AggregateOptions, CancellationToken)

Lists the search indexes.

IAsyncCursor<BsonDocument> List(string name = null, AggregateOptions aggregateOptions = null, CancellationToken cancellationToken = default)

Parameters

name string

Name of the index.

aggregateOptions AggregateOptions

The aggregate options.

cancellationToken CancellationToken

The cancellation token.

Returns

IAsyncCursor<BsonDocument>

A cursor.