我们有以下查询:
SELECT video . * , u.name, u.username, p.avatar
FROM jos_hwdvidsvideos AS video
WHERE video.public_private = 'public'
AND MATCH (
title, tags, description
)
AGAINST (
'matthew:13-44-46'
)
AND video.published =1
AND video.approved = "yes"
LIMIT 0 , 30
唯一的问题是它会返回标题、标签或描述匹配的结果,matthew:13-44-46
但它会返回其中包含的任何matthew
内容。