Click or drag to resize

CreateIndexOptions Properties

The CreateIndexOptions type exposes the following members.

Properties
  NameDescription
Public propertyBackground
Gets or sets a value indicating whether to create the index in the background.
Public propertyBits
Gets or sets the precision, in bits, used with geohash indexes.
Public propertyBucketSize Obsolete.
Gets or sets the size of a geohash bucket.
Public propertyCollation
Gets or sets the collation.
Public propertyDefaultLanguage
Gets or sets the default language.
Public propertyExpireAfter
Gets or sets when documents expire (used with TTL indexes).
Public propertyLanguageOverride
Gets or sets the language override.
Public propertyMax
Gets or sets the max value for 2d indexes.
Public propertyMin
Gets or sets the min value for 2d indexes.
Public propertyName
Gets or sets the index name.
Public propertySparse
Gets or sets a value indicating whether the index is a sparse index.
Public propertySphereIndexVersion
Gets or sets the index version for 2dsphere indexes.
Public propertyStorageEngine
Gets or sets the storage engine options.
Public propertyTextIndexVersion
Gets or sets the index version for text indexes.
Public propertyUnique
Gets or sets a value indicating whether the index is a unique index.
Public propertyVersion
Gets or sets the version of the index.
Public propertyWeights
Gets or sets the weights for text indexes.
Top
See Also