05 2016 档案

摘要:小项目有时需要用到关键词搜索相关性排序,用sphinx显得杀鸡用牛刀,就用mysql的order by对付下。方法一: select * from articles where (title LIKE '%keywords%') or (content LIKE '%helloworld%') or 阅读全文
posted @ 2016-05-03 13:43 goldenstones 阅读(733) 评论(0) 推荐(0)