我只是想知道......
这有什么区别:
SELECT * FROM table_name
WHERE MATCH (col1,col2,col3)
AGAINST ('keyword' IN NATURAL LANGUAGE MODE);
和此:
SELECT (...), MATCH ( description ) AGAINST ( '$searchname' ) AS relevance
FROM places
WHERE MATCH ( description ) AGAINST ( '$searchname' )
ORDER BY relevance DESC
两者都给我们按相关性排序的结果吗?