Constructor CreateSearchIndexModel
CreateSearchIndexModel(string, BsonDocument)
Initializes a new instance of the CreateSearchIndexModel class.
public CreateSearchIndexModel(string name, BsonDocument definition)
Parameters
name
stringThe name.
definition
BsonDocumentThe definition.
CreateSearchIndexModel(string, SearchIndexType?, BsonDocument)
Initializes a new instance of the CreateSearchIndexModel class.
public CreateSearchIndexModel(string name, SearchIndexType? type, BsonDocument definition)
Parameters
name
stringThe name.
type
SearchIndexType?The type.
definition
BsonDocumentThe definition.