An optional 2dsphere
index version number.
If this index should be built in background.
If this index should be built in background. You should read the documentation about background indexing before using it.
Optionally indicates the precision of geohash for 2d indexes.
Optionally specifies the number of units within which to group the location values for geoHaystack indexes.
An optional Collation (default: None
)
An optional default language for text indexes.
The name of the index (a default one is computed if none).
Optionally specifies a value, in seconds, as a TTL to control how long MongoDB retains documents in this collection.
The index key (it can be composed of multiple fields).
The index key (it can be composed of multiple fields). This list should not be empty!
An optional language override for text indexes.
Optionally indicates the upper inclusive boundary for longitude and latitude for 2d indexes.
Optionally indicates the lower inclusive boundary for longitude and latitude for 2d indexes.
The name of this index (default: None
).
The name of this index (default: None
).
If you provide none, a name will be computed for you.
The flags to indicates if the index to build
should only consider the documents that have the indexed fields
(default: false
).
The flags to indicates if the index to build
should only consider the documents that have the indexed fields
(default: false
).
See the documentation on the consequences of such an index.
Optionally specifies a configuration for the storage engine on a per-index basis when creating an index.
Optionally specifies a configuration for the storage engine on a per-index basis when creating an index.
MongoDB 3.0
An optional text
index version number.
The flag to enforces uniqueness (default: false
)
Indicates the version of the index (1 for >= 2.0, else 0).
Indicates the version of the index (1 for >= 2.0, else 0). You should let MongoDB decide.
An optional document that contains field and weight pairs for text indexes.
If duplicates should be discarded (if unique = true; default: false
).
If duplicates should be discarded (if unique = true; default: false
).
_Warning_: you should read the documentation.
(Since version 0.19.1) Since MongoDB 2.6
(Since version 0.19.0) Internal: will be made private
(Since version 0.19.0) Internal: will be made private
(Since version 0.19.1) No longer a ReactiveMongo case class
A MongoDB index (excluding the namespace).
Consider reading the documentation about indexes in MongoDB.