Sets the 2dsphere index version number.
Specifying true directs MongoDB to build the index in the background. Background builds do not block operations on the collection. Since MongoDB 4.2 indices are built on the background by default. In MongoDB 4.0 and before, this defaults to false.
For 2d indexes, the number of precision of the stored geo hash value of the location data.
For geoHaystack indexes, specify the number of units within which to group the location values; i.e. group in the same bucket those location values that are within the specified number of units to each other.
Collation allows users to specify language-specific rules for string comparison, such as rules for letter-case and accent marks.
Default language for text indexes. Is "english" if none is provided.
Creates a unique index on a field that may have duplicates.
Specifies the length in time, in seconds, for documents to remain in a collection.
Specifies the field in the document to override the language.
For 2d indexes, the upper inclusive boundary for the longitude and latitude values.
For 2d indexes, the lower inclusive boundary for the longitude and latitude values.
If specified, the index only references documents that match the filter expression. See Partial Indexes for more information.
Tells the index to only reference documents with the specified field in the index.
Allows configuring the storage engine on a per-index basis.
Sets the text index version number.
Forces the index to be unique.
Specifies the index version number, either 0 or 1.
Specifies fields in the index and their corresponding weight values.
Allows users to include or exclude specific field paths from a wildcard index using the { "$**": 1 } key pattern.