createSearchIndexes

fun createSearchIndexes(searchIndexModels: List<SearchIndexModel>): Flow<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 `default`.

Return

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

Parameters

searchIndexModels

the search index models.

See also