rails 3.2.1 ruby 1.9 sphinx-for-chinese+thinking_sphinx mysql5.5 运行:rake thinking_sphinx:indexer 出现:Don't know how to build task 'thinking_sphinx:indexer' 配置信息: 1.config/sphinx.yml:
development:
searchd_binary_name: searchd
indexer_binary_name: indexer
charset_type: zh_ch.utf-8
bin_path: /usr/local/sphinx/bin
【/us/local/sphinx/bin: 】 2.运行:rake thinking_sphinx:configure 生成的 development.sphinx.conf 是:
indexer
{
}
searchd
{
listen = 127.0.0.1:9312
log = /home/wilxn/depot/log/searchd.log
query_log = /home/wilxn/depot/log/searchd.query.log
pid_file = /home/wilxn/depot/log/searchd.development.pid
}