metaTextScore

fun <T> KProperty<T>.metaTextScore(): Bson

Creates a textScore projection for the given property, for use with text queries. Calling this method is equivalent to calling {@link #meta(String)} with {@code "textScore"} as the argument.

Return

the projection

See also

#text(String, TextSearchOptions) @mongodb.driver.manual reference/operator/aggregation/meta/#text-score-metadata--meta---textscore- textScore