有一个很疑问的地方,如果在PHP的程序,比如laravel做的网站里面加入Sphinx搜索,是使用 SphinxQL 还是SphinxAPI ?Applications can access Sphinx search daemon (searchd) using any of the three different access methods: a) via Sphinx own implementation of MySQL network protocol (using a small SQL subset called SphinxQL, this is recommended way), b) via native search API (SphinxAPI) or c) via MySQL server with a pluggable storage engine (SphinxSE).官方说明 using a small SQL subset called SphinxQL, this is recommended way现在能找到的资料都是SphinxAPI来结合PHP,是否有SphinxQL + PHP 这样的结合例子。
2 回答
红颜莎娜
TA贡献1842条经验 获得超12个赞
As of 2015, we strongly recommend to use either SphinxQL or REST APIs
rather than the native SphinxAPI.
- 2 回答
- 0 关注
- 886 浏览
添加回答
举报
0/150
提交
取消