You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MySQL connector supports the following MySQL-specific operators:
511
+
- [`match`](#operator-match)
512
+
Please note extended operators are disabled by default, you must enable
513
+
them at datasource level or model level by setting `allowExtendedOperators` to
514
+
`true`.
515
+
### Operator `match`
516
+
The `match` operator allows you to perform a full text search using the [MATCH() .. AGAINST()](https://dev.mysql.com/doc/refman/8.0/en/fulltext-search.html) operator in MySQL.
517
+
518
+
Three different modes of the `MATCH` clause are also available in the form of operators -
519
+
520
+
- `matchbool` for [Boolean Full Text Search](https://dev.mysql.com/doc/refman/8.0/en/fulltext-boolean.html)
521
+
- `matchnl` for [Natural Language Full Text Search](https://dev.mysql.com/doc/refman/8.0/en/fulltext-natural-language.html)
522
+
- `matchqe` for [Full-Text Searches with Query Expansion](https://dev.mysql.com/doc/refman/8.0/en/fulltext-query-expansion.html)
523
+
- `matchnlqe` for [Full-Text Searches with Query Expansion](https://dev.mysql.com/doc/refman/8.0/en/fulltext-query-expansion.html) with the `INNATURALLANGUAGEMODEWITHQUERYEXPANSION` modifier.
524
+
525
+
By default, the `match` operator works in Natural Language mode.
526
+
527
+
**Note** The fields you are querying must be setup with a `FULLTEXT` index to perform full text search on them.
0 commit comments