Click or drag to resize
IndexOptions Methods

The IndexOptions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberSetBackground
Sets whether to build the index in the background.
Public methodStatic memberSetBits
Sets the location precision bits.
Public methodStatic memberSetBucketSize
Sets the bucket size for geospatial haystack indexes.
Public methodStatic memberSetDropDups
Sets whether duplicates should be dropped.
Public methodStatic memberSetGeoSpatialRange
Sets the geospatial range.
Public methodStatic memberSetName
Sets the name of the index.
Public methodStatic memberSetSparse
Sets whether the index is a sparse index.
Public methodStatic memberSetStorageEngineOptions
Sets the storage engine options.
Public methodStatic memberSetTextDefaultLanguage
Sets the default language for the text index.
Public methodStatic memberSetTextLanguageOverride
Specifies the field name containing the language for the text index.
Public methodStatic memberSetTimeToLive
Sets the time to live value.
Public methodStatic memberSetUnique
Sets whether the index enforces unique values.
Public methodStatic memberSetWeight
Sets the weight of a field for the text index.
Top
See Also