kmongo / org.litote.kmongo / text

text

fun text(search: String, textSearchOptions: TextSearchOptions = TextSearchOptions()): Bson (source)

Creates a filter that matches all documents matching the given the search term with the given text search options.

Parameters

search - the search term

textSearchOptions - the text search options to use

Return
the filter

Mongodb
.driver.manual reference/operator/query/text $text