Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我按列字段结尾修饰符过滤确切的单词时不起作用。
这是示例:
SELECT * FROM indexTable WHERE MATCH('@column1 ^abc$');
这返回了我:(不仅是精确的“abc”)
美国广播公司 美国广播公司 A B C D
美国广播公司
A B C D
配置或语法中是否有解决此问题的解决方案?
1) 确保 $ 确实进入了 sql 查询,它可能被你的应用程序所写的任何语言所消耗。例如 PHP 认为它在双引号字符串中意味着一个变量。
2)你使用的是什么版本的狮身人面像。使用最新的。一些版本的字段结束修饰符被破坏。