如何搜索“红地毯”参数?

SELECT videos.*
FROM videos
WHERE MATCH(tags) AGAINST('+Red Carpet -Tshirt' IN BOOLEAN MODE)

最佳答案

短语应使用"字符引用:

WHERE MATCH(tags) AGAINST('+"Red Carpet" -Tshirt' IN BOOLEAN MODE)

10-05 19:26