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
stringThe index name.
definition
BsonDocumentThe index definition.