我在sphinx.conf文件中添加了一个实时(RT)索引。当我使用mysql -h 127.0.0.1 -P 3312连接到Sphinx时,我可以看到它。但当我尝试执行命令行搜索时,Shinx会在响应的末尾添加:
index 'drupal_rt': search error: failed to open /var/lib/sphinx/rt_drupal_nodes.sph: No such file or directory.
发布于 2012-04-08 19:13:09
./搜索工具不支持实时索引。您应该使用mysql客户端。
如果您需要使用命令行搜索,则需要test.php脚本,您可以在sphinx源代码存储库中的api目录下找到该脚本。
https://stackoverflow.com/questions/3875767
复制相似问题