1
我在安裝思維獅身人面像時遇到了問題。使用rails 3.2思考獅身人面像索引錯誤
每當我運行耙ts:索引,我得到以下。
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做 指標:名稱,如:re_name 結束了獅身人面像
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
}
配置文件,我完全不知道爲什麼這並未不行!該配置在編制索引期間生成但退出。
任何人有什麼想法?