Show variables
like
‘plugin_dir’;
Install plugin mysqlcft soname ‘MySQLcft.so’;
查看MySQLcft.so插件是否安裝成功 ? 1
show plugins;
uninstall plugin MySQLcft;
5.為已經存在的表添加MySQLcft中文全文索引 創建單列全文索引 ? 1
alter
ignore
table
數據庫名.表名
add
fulltext
index
全文索引名(字段名)
with
parser MySQLcft;
創建全文聯合索引 ? 1
alter
ignore
table
數據庫名.表名
add
fulltext
index
全文聯合索引名(字段名1,字段名2)
with
parser MySQLcft;
6.查詢使用樣例 ? 1
Select
*
from
table
where
match(title) against(‘北京’
in
Boolean mode);