我使用了MATCH AGAINST查询来获得结果。 如果最小单词与输入字符串匹配,我想要得出结果是否要匹配最少2个单词,3或4
SELECT *,
MATCH (`text`) AGAINST ('my work involves for' IN BOOLEAN MODE) `score`
FROM `messages`
ORDER BY `score` DESC
所以如果我想匹配最少2个单词,那么我想要那个至少2个单词匹配的结果
For ex.
work involves my experience -> 3 words match
How you work ? -> 1 word match
Those times do not work for me -> 2 words match
请帮助。