这样,如果我搜索“男士”一词,“绅士”一词就会匹配。
我试过了:
SELECT *
FROM cart_product
WHERE MATCH (
product_name, product_description, product_brand, metal_type, primary_stone, product_type, product_type_sub, product_series, primary_stone_sub
)
AGAINST (
'THESAURUS "english" EXPAND SYNONYM TERM OF "gentlemen"'
)
但这似乎不起作用。这是错的吗?还有其他一些与此有关的事吗?