Table of Contents

Constructor CreateSearchIndexRequest

Namespace
MongoDB.Driver.Core.Operations
Assembly
MongoDB.Driver.Core.dll

CreateSearchIndexRequest(string, BsonDocument)

Initializes a new instance of the CreateSearchIndexRequest class.

public CreateSearchIndexRequest(string name, BsonDocument definition)

Parameters

name string

The index name.

definition BsonDocument

The index definition.