- <init>
- unique
Should the index should be unique.
- name
Sets the name of the index.
- background
Should the index should be created in the background
- expireAfter
Sets the time to live for documents in the collection
- sparse
Should the index only references documents with the specified field
- partialFilterExpression
Sets the filter expression for the documents to be included in the index
- defaultLanguage
Sets the language for the text index.The language that determines the list of
stop words and the rul
- languageOverride
Sets the name of the field that contains the language string.For text indexes,
the name of the field
- weights
Sets the weighting object for use with a text index.An document that represents
field and weight pai
- bits
Sets the number of precision of the stored geohash value of the location data in
2d indexes.
- getName
Gets the name of the index.