0
我试图启动狮身人面像为Windows系统:狮身人面像FATAL:无法解析配置文件
searchd.exe --install --config c:\develop\sphinx\cs.config --servicename CSSearch
它有正确安装。
但是,当我试图启动服务。我得到了错误1067在系统日志中:
FATAL: failed to parse config file 'c:\develop\sphinx\cs.config';
当我试图执行searchd.exe:
searchd.exe --config c:\develop\sphinx\cs.conf
这是确定的。
如何正确启动searchd为Win服务?
我cs.conf:
searchd
{
listen = 127.0.0.1:9306:mysql41
pid_file = c:\Develop\sphinx\data\searchd.pid
log = c:\Develop\sphinx\log\sphinx.log
#query_log = c:\Develop\sphinx\log\query.log
binlog_path = c:\Develop\sphinx\data\binlog\
workers = threads
compat_sphinxql_magics = 0
mysql_version_string = 5.5.21
seamless_rotate = 0
}
index address
{
type = rt
dict = keywords
path = c:\Develop\sphinx\data\index\address_index
min_infix_len = 1
enable_star = 1
rt_field = country
rt_field = region
rt_field = city
rt_field = street
}
index bank_detail
{
type = rt
dict = keywords
path = c:\Develop\sphinx\data\index\bank_detail_index
min_infix_len = 1
enable_star = 1
rt_field = bank_name
rt_field = customer_name
rt_field = settlement_account
}
索引的来源在哪里? –