createSearchIndexes

fun createSearchIndexes(searchIndexModels: List<SearchIndexModel>): List<String>

Create one or more Atlas Search indexes for the collection.

The name can be omitted for a single index, in which case a name will be `default`.

Return

the search index names in the order specified by the given list of SearchIndexModels.

Parameters

searchIndexModels

the search index models.

See also