有一个很疑问的地方,如果在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 这样的结合例子。
红颜莎娜