mysql全文列优先级

时间:2012-06-15 19:00:30

标签: php mysql search full-text-search

如何在mysql全文搜索中为多列设置优先级?

SELECT ID, POSITION, DATA, DATE_FORMAT(DATA, '%Y-%m-%d') AS DATE 
FROM VACANCIES 
WHERE VACANCIES.VISIBLE = '1' 
AND MATCH(POSITION, REQUITEMENST) AGAINST('mysql') 
AND MATCH(POSITION, REQUITEMENST) AGAINST('php') 
ORDER BY DATE(DATA) DESC 
LIMIT 1000

我需要获得匹配列POSITION的第一个结果,然后是REQUITEMENST

0 个答案:

没有答案