Optional
2dsphereOptional
backgroundOptional
bitsOptional
bucketOptional
collationOptional
default_Optional
expireAllows you to expire data on indexes applied to a data (MongoDB 2.2 or higher)
Optional
hiddenSpecifies that the index should exist on the target collection but should not be used by the query planner when executing operations. (MongoDB 4.4 or higher)
Optional
language_Optional
maxFor geospatial indexes set the high bound for the co-ordinates.
Optional
minFor geospatial indexes set the lower bound for the co-ordinates.
Optional
nameOptional
partialCreates a partial index based on the given filter object (MongoDB 3.2 or higher)
Optional
sparseCreates a sparse index.
Optional
storageAllows users to configure the storage engine on a per-index basis when creating an index. (MongoDB 3.0 or higher)
Optional
textOptional
uniqueCreates an unique index.
Optional
versionSpecifies the index version number, either 0 or 1.
Optional
weightsOptional
wildcardGenerated using TypeDoc
Creates the index in the background, yielding whenever possible.