IndexOptions Methods | 
The IndexOptions type exposes the following members.
| Name | Description | |
|---|---|---|
| SetBackground | 
            Sets whether to build the index in the background.
              | |
| SetBits | 
            Sets the location precision bits.
              | |
| SetBucketSize |  Obsolete.  
            Sets the bucket size for geospatial haystack indexes.
              | |
| SetDropDups | 
            Sets whether duplicates should be dropped.
              | |
| SetGeoSpatialRange | 
            Sets the geospatial range.
              | |
| SetHidden | 
            Sets whether the index is hidden.
              | |
| SetName | 
            Sets the name of the index.
              | |
| SetPartialFilterExpression | 
            Sets the partial filter expression.
              | |
| SetSparse | 
            Sets whether the index is a sparse index.
              | |
| SetStorageEngineOptions | 
            Sets the storage engine options.
              | |
| SetTextDefaultLanguage | 
            Sets the default language for the text index.
              | |
| SetTextLanguageOverride | 
            Specifies the field name containing the language for the text index.
              | |
| SetTimeToLive | 
            Sets the time to live value.
              | |
| SetUnique | 
            Sets whether the index enforces unique values.
              | |
| SetWeight | 
            Sets the weight of a field for the text index.
              | |
| SetWildcardProjection | 
            Sets the wildcardProjection for the index.
              |