99Game 模拟器研究 Ascent 's Archiver

艾森尼 发表于 2007-12-21 17:33

10.8.5. Full-Text Restrictions

[size=4][b]10.8.5.?Full-Text Restrictions[/b][/size]

Full-text searches are supported for MyISAM tables only.

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 the ucs2 character set. However, although FULLTEXT indexes on ucs2 columns cannot be used, you can perform IN BOOLEAN MODE searches on a ucs2 column that has no such index.

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 Section 10.8, “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 some FULLTEXT index definition for the table, unless this MATCH() is IN BOOLEAN MODE. Boolean-mode searches can be done on non-indexed columns, although they are likely to be slow.

The argument to AGAINST() must be a constant string


页: [1]

Powered by Discuz! Archiver 7.0.0  © 2001-2009 Comsenz Inc.