) (sqlparser.Expr, error) {
if !isSupportedTextOperator(expr.Operator) {
"%s: operator '%s' not supported for Text type search attribute in `%s`",
query.InvalidExpressionErrMessage,
expr.Operator,
formatComparisonExprStringForError(*expr),
)
}
// build the following expression:
// `match ({expr.Left}) against ({expr.Right} in natural language mode)`