upsertIndex

suspend fun upsertIndex(index: SearchIndex, common: CommonOptions = CommonOptions.Default)

Throws

if the given index's SearchIndex.uuid field is null and there is an existing index with the same SearchIndex.name.