私のubuntu12.04にthinkingsphinxをインストールするのに問題があります。
rake ts:indexを実行すると、次のようになります。
Generating configuration to /home/tom/digmenu/config/development.sphinx.conf
Sphinx 2.0.6-id64-release (r3473)
Copyright (c) 2001-2012, Andrew Aksyonoff
Copyright (c) 2008-2012, Sphinx Technologies Inc (http://sphinxsearch.com)
using config file '/home/tom/digmenu/config/development.sphinx.conf'...
FATAL: no indexes found in config file '/home/tom/digmenu/config/development.sphinx.conf'
Generating configuration to /home/tom/digmenu/config/development.sphinx.conf
Sphinx 2.0.6-id64-release (r3473)
Copyright (c) 2001-2012, Andrew Aksyonoff
Copyright (c) 2008-2012, Sphinx Technologies Inc (http://sphinxsearch.com)
using config file '/home/tom/digmenu/config/development.sphinx.conf'...
FATAL: no indexes found in config file '/home/tom/digmenu/config/development.sphinx.conf'
model.rb
define_index do indexs:name、as :: re_name end
sphinxの設定ファイル
indexer
{
}
searchd
{
listen = 127.0.0.1:9306:mysql41
log = /home/tom/digmenu/log/development.searchd.log
query_log = /home/tom/digmenu/log/development.searchd.query.log
pid_file = /home/tom/digmenu/log/development.sphinx.pid
workers = threads
binlog_path = /home/tom/digmenu/tmp/binlog/development
}
なぜこれが機能しないのか、私にはまったくわかりません!構成はインデックス作成中に生成されましたが、終了します。
誰か考えがありますか?