Table of Contents

Method UpdateAsync

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

UpdateAsync(string, BsonDocument, CancellationToken)

Update the search index.

Task UpdateAsync(string name, BsonDocument definition, CancellationToken cancellationToken = default)

Parameters

name string

Name of the index.

definition BsonDocument

The definition.

cancellationToken CancellationToken

The cancellation token.

Returns

Task

A Task.