gpt4 book ai didi

mysql - 斯芬克斯 : How to set the matchMode on the mysql client

转载 作者:行者123 更新时间:2023-11-29 14:43:18 26 4
gpt4 key购买 nike

我在 debian squeeze 上安装了 Sphinx 搜索。

通过 mysql 客户端连接,带有:

mysql -h127.0.0.1 -P 9306 --protocol=tcp

让我可以访问searchd。我想将匹配模式更改为

SPH_MATCH_ANY

我没有任何访问 php api 的权限(因为它没有包含在squeeze中)。

最佳答案

只需包装您的查询即可使其成为 quarum 搜索。这就是扩展匹配模式的好处 - 它可以模拟所有其他模式

where match('"一二三"/1')

也可以使用

选项ranker=matchany

关于mysql - 斯芬克斯 : How to set the matchMode on the mysql client,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7544937/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com