Table of Contents

Constructor CreateSearchIndexModel

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

CreateSearchIndexModel(string, BsonDocument)

Initializes a new instance of the CreateSearchIndexModel class.

public CreateSearchIndexModel(string name, BsonDocument definition)

Parameters

name string

The name.

definition BsonDocument

The definition.

CreateSearchIndexModel(string, SearchIndexType?, BsonDocument)

Initializes a new instance of the CreateSearchIndexModel class.

public CreateSearchIndexModel(string name, SearchIndexType? type, BsonDocument definition)

Parameters

name string

The name.

type SearchIndexType?

The type.

definition BsonDocument

The definition.