## Uses of Class
io.vertx.ext.mongo.IndexOptions

- Packages that use IndexOptions
  Package | Description
  --- | ---
  io.vertx.ext.mongo |
  io.vertx.reactivex.ext.mongo |
  io.vertx.rxjava3.ext.mongo |

- - ### Uses of IndexOptions in io.vertx.ext.mongo

    Methods in io.vertx.ext.mongo that return IndexOptions
    Modifier and Type | Method | Description
    --- | --- | ---
    `IndexOptions` | IndexOptions.`background​(boolean background)` | Should the index be created in the background
    `IndexOptions` | IndexOptions.`bits​(Integer bits)` | Sets the number of precision of the stored geohash value of the location data in 2d indexes.
    `IndexOptions` | IndexOptions.`defaultLanguage​(String defaultLanguage)` | Sets the language for the text index.
    `IndexOptions` | IndexOptions.`expireAfter​(Long expireAfter, TimeUnit timeUnit)` | Sets the time to live for documents in the collection
    `IndexOptions` | IndexModel.`getOptions()` | Get the index options
    `IndexOptions` | IndexOptions.`languageOverride​(String languageOverride)` | Sets the name of the field that contains the language string.
    `IndexOptions` | IndexOptions.`max​(Double max)` | Sets the upper inclusive boundary for the longitude and latitude values for 2d indexes..
    `IndexOptions` | IndexOptions.`min​(Double min)` | Sets the lower inclusive boundary for the longitude and latitude values for 2d indexes..
    `IndexOptions` | IndexOptions.`name​(String name)` | Sets the name of the index.
    `IndexOptions` | IndexOptions.`partialFilterExpression​(JsonObject partialFilterExpression)` | Sets the filter expression for the documents to be included in the index
    `IndexOptions` | IndexOptions.`setCollation​(CollationOptions collation)` | Optional.
    `IndexOptions` | IndexOptions.`sparse​(boolean sparse)` | Should the index only references documents with the specified field
    `IndexOptions` | IndexOptions.`sphereVersion​(Integer sphereVersion)` | Sets the 2dsphere index version number.
    `IndexOptions` | IndexOptions.`storageEngine​(JsonObject storageEngine)` | Sets the storage engine options document for this index.
    `IndexOptions` | IndexOptions.`textVersion​(Integer textVersion)` | Set the text index version number.
    `IndexOptions` | IndexOptions.`unique​(boolean unique)` | Should the index should be unique.
    `IndexOptions` | IndexOptions.`version​(Integer version)` | Sets the index version number.
    `IndexOptions` | IndexOptions.`weights​(JsonObject weights)` | Sets the weighting object for use with a text index.

    Methods in io.vertx.ext.mongo with parameters of type IndexOptions
    Modifier and Type | Method | Description
    --- | --- | ---
    `Future<Void>` | MongoClient.`createIndexWithOptions​(String collection, JsonObject key, IndexOptions options)` | Creates an index.
    `IndexModel` | IndexModel.`setOptions​(IndexOptions options)` | Sets the index options

    Constructors in io.vertx.ext.mongo with parameters of type IndexOptions
    Constructor | Description
    --- | ---
    `IndexModel​(JsonObject key, IndexOptions options)` |
    `IndexOptions​(IndexOptions options)` | Copy constructor

  - ### Uses of IndexOptions in io.vertx.reactivex.ext.mongo

    Methods in io.vertx.reactivex.ext.mongo with parameters of type IndexOptions
    Modifier and Type | Method | Description
    --- | --- | ---
    `Future<Void>` | MongoClient.`createIndexWithOptions​(String collection, JsonObject key, IndexOptions options)` | Creates an index.
    `Completable` | MongoClient.`rxCreateIndexWithOptions​(String collection, JsonObject key, IndexOptions options)` | Creates an index.

  - ### Uses of IndexOptions in io.vertx.rxjava3.ext.mongo

    Methods in io.vertx.rxjava3.ext.mongo with parameters of type IndexOptions
    Modifier and Type | Method | Description
    --- | --- | ---
    `Completable` | MongoClient.`createIndexWithOptions​(String collection, JsonObject key, IndexOptions options)` | Creates an index.
    `Completable` | MongoClient.`rxCreateIndexWithOptions​(String collection, JsonObject key, IndexOptions options)` | Creates an index.