How to create a text index in MongoDb using MongoDb driver if it is not exist
Note: other answers are for older versions. version : 2.18 I am using MongoDb.Driver with C# and want to create an Index only if it does not exist. There is no method to check the existence of an Index and…