我运行的是rails 2.2.3,mysql作为数据库方案&我认为sphinx是作为插件安装的。我有两个问题:
1)我找不到配置文件/sphinx.yml。我只有一个config/development.sphinx.conf 2)我已经从模型的define_index方法中指定了min_infix_len & enable_start属性。我还检查了development.sphinx.conf文件&这些属性都是正确设置的。但是我没有得到任何中缀的搜索结果。
请帮帮忙。
发布于 2011-05-15 16:42:22
您必须在Rails配置文件夹中创建该文件。
我找到的最好的教程是http://chris.finne.us/2010/04/09/multi-server-thinking-sphinx/
https://stackoverflow.com/questions/3012616
复制相似问题