[MySQL] 原生全文检索 fulltext 的简单应用

在目标字段上添加全文检索:alter table 表名 add fulltext(字段) with parser ngram 查询语句:select * from xxx where match(字段) against ('检索词' in natural language mode) 查看词的权重:

posted on 2021-02-16 14:45  ercom  阅读(223)  评论(0编辑  收藏  举报