我在思考sphinx 2.1.0宝石时遇到的错误是:
Sphinx cannot be found on your system. You may need to configure the following
settings in your config/sphinx.yml file:
* bin_path
* searchd_binary_name
* indexer_binary_name
sh: searchd: command not found
Failed to start searchd daemon. Check /var/log/searchd.log.
Failed to start searchd daemon. Check /var/log/searchd.log
Be sure to run thinking_sphinx:index before thinking_sphinx:start
搜索记录为空
当我尝试从bash手动运行rake任务时,我得到:
rake aborted!
Unable to activate thinking-sphinx-2.0.10, because activerecord-2.3.9 conflicts with activerecord (>= 3.0.3)
activerecord 3.0.3自动下载think-sphinx gem 2.0.9。
我已经尝试了几乎每个版本的思考sphinx和sphinx并且每次尝试都会遇到各种错误。
Sphinx从bash命令行运行得很好,但是没有从rake任务开始。我尝试过这个插件,但这只会引发一组不同的错误。我希望有人知道如果Mac版甚至很重要的话,我会在mac Lion上知道rails / riddle / thinking-sphinx和sphinx版本的组合。
我目前的情况如下:
development:
bin_path: /usr/local/Cellar/sphinx/0.9.9/bin
searchd_binary_name: searchd
indexer_binary_name: indexer
enable_star: true
enable_star: true
morphology: stem_en
html_strip: true
min_infix_len: 3
port: 9310
sql_range_step: 10000000
min_infix_len: 3
提前感谢任何建议。
答案 0 :(得分:1)
在邮件列表中也回答了这个问题,但仅针对遇到它的其他人 - 1.4.10是使用的TS的正确版本(Thinking Sphinx的2.x版本适用于Rails 3.x)。 / p>