A 显示表的所有索引:
show INDEX from phphi_article;
B删除索引:
alter
table phphi_article drop INDEX fullwords;
C添加全文索引:
alter table phphi_article add FULLTEXT co(content);
D使用全文索引:
1.直接使用
select id, title from phphi_article where MATCH(content) AGAINST(‘2014‘);
mysql挖掘与探索------第2章 索引1-2 全文索引FULLTEXT,布布扣,bubuko.com
mysql挖掘与探索------第2章 索引1-2 全文索引FULLTEXT
原文:http://www.cnblogs.com/legend-song/p/3656122.html