sphinx php 配置文件,Linux下PHP Sphinx配置问题~

创建索引 bin/indexer -c etc/sphinx.conf --all ,运行之后,出现如下异常错误:

using config file 'etc/sphinx.conf'...

indexing index 'test1'...

collected 4 docs, 0.0 MB

sorted 0.0 Mhits, 100.0% done

total 4 docs, 193 bytes

total 0.006 sec, 28357 bytes/sec, 587.71 docs/sec

---

indexing index 'test1stemmed'...

ERROR: index 'test1stemmed': infixes and morphology are enabled, enable_star=0

---

skipping non-plain index 'dist1'...

skipping non-plain index 'rt'...

total 3 reads, 0.000 sec, 1.9 kb/call avg, 0.0 msec/call avg

total 9 writes, 0.000 sec, 1.4 kb/call avg, 0.0 msec/call avg

这是sphinx建立索引时出现读问题,我搜索内容也会出现问题,但是内容可以搜索出来~

搜索命令:bin/search -c etc/sphinx.conf test

错误如下:

words:

1. 'test': 3 documents, 5 hits

---

index 'test1stemmed': search error: failed to open /usr/local/sphinx/var/data/test1stemmed.sph: No such file or directory.

---

求高手指点~~

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值