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‘);