match

fun match(field: String, value: String): Condition

Creates a full-text match condition for text fields. Matches documents where the specified field contains the given search keywords.

Return

A new full-text match condition.

Parameters

field

The field name to search.

value

The search keywords.