Full-Text Restrictions
Full-text searches are supported for InnoDB
and MyISAM
tables only. FULLTEXT
index support for InnoDB
tables requires MariaDB 5.6.4 or higher.
- Full-text searches are not supported for partitioned tables. See , "Restrictions and Limitations on Partitioning".
- Full-text searches can be used with most multi-byte character sets. The exception is that for Unicode, the
utf8
character set can be used, but not theucs2
character set. AlthoughFULLTEXT
indexes onucs2
columns cannot be used, you can performIN BOOLEAN MODE
searches on aucs2
column that has no such index.The remarks for
utf8
also apply toutf8mb4
, and the remarks forucs2
also apply toutf16
,utf16le
, andutf32
. - Ideographic languages such as Chinese and Japanese do not have word delimiters. Therefore, the
FULLTEXT
parser cannot determine where words begin and end in these and other such languages. The implications of this and some workarounds for the problem are described in , "Full-Text Search Functions". - Although the use of multiple character sets within a single table is supported, all columns in a
FULLTEXT
index must use the same character set and collation. - The
MATCH()
column list must match exactly the column list in someFULLTEXT
index definition for the table, unless thisMATCH()
isIN BOOLEAN MODE
on aMyISAM
table. ForMyISAM
tables only, boolean-mode searches can be done on nonindexed columns, although they are likely to be slow. - The argument to
AGAINST()
must be a constant string. - Index hints are more limited for
FULLTEXT
searches than for non-FULLTEXT
searches. See , "Index Hint Syntax".