kmongo / org.litote.kmongo / kotlin.reflect.KProperty / textIndex

textIndex

fun <T> KProperty<T>.textIndex(): Bson (source)

Create an index key for a text index on the given property.

Return
the index specification

Mongodb
.driver.manual core/text text index