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

sortByMetaTextScore

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

Create a sort specification for the text score meta getProjection on the given property.

Return
the sort specification

Mongodb
.driver.manual reference/operator/getProjection/meta/#sort textScore