Coreseek®  
 | 首页 | 注册 | 回复 | 搜索 | 统计资料 |                 网站首页产品服务开放源码安装使用常见问题中文手册社区交流联系我们 
站务公告 论坛首页 / 站务公告 /

【召集令】Coreseek/Sphinx运行常见问题和回答--整理收集专用帖

 Page:  ««  1  2  3  4  5  6  7  »» 
HonestQiao
会员
#16 | 发表时间: 2011 04 09 11:38
回复 
xinglu1983:
补充下,我的php.ini开启了allow_url_fopen = On,我也实验了:
$fp = fsockopen("www.baidu.com", 80, $errno, $errstr, 30);
var_dump($fp);exit;
也是没有问题的。

www.coreseek.cn/products-install/faq/#qa23
make19830723
会员
#17 | 发表时间: 2011 06 07 14:05
回复 
sphinx 自动挂了 不知道什么原因?
[Tue Jun  7 12:14:57.528 2011] [ 3438] binlog: finished replaying /usr/local/coreseek/var/log/picindex//binlog.001; 16.0 MB in 1.257 sec
[Tue Jun  7 12:14:57.528 2011] [ 3438] binlog: replaying log /usr/local/coreseek/var/log/picindex//binlog.002
[Tue Jun  7 12:14:58.991 2011] [ 3438] binlog: index picindex: recovered from tid 114183 to tid 119344
[Tue Jun  7 12:14:58.991 2011] [ 3438] binlog: replay stats: 5161 rows in 5161 commits; 0 updates; 1 indexes
[Tue Jun  7 12:14:58.991 2011] [ 3438] binlog: finished replaying /usr/local/coreseek/var/log/picindex//binlog.002; 16.0 MB in 1.463 sec
[Tue Jun  7 12:14:58.991 2011] [ 3438] binlog: replaying log /usr/local/coreseek/var/log/picindex//binlog.003
[Tue Jun  7 12:15:00.645 2011] [ 3438] binlog: index picindex: recovered from tid 119344 to tid 125661
[Tue Jun  7 12:15:00.645 2011] [ 3438] binlog: replay stats: 6317 rows in 6317 commits; 0 updates; 1 indexes
[Tue Jun  7 12:15:00.645 2011] [ 3438] binlog: finished replaying /usr/local/coreseek/var/log/picindex//binlog.003; 16.0 MB in 1.653 sec
[Tue Jun  7 12:15:00.645 2011] [ 3438] binlog: replaying log /usr/local/coreseek/var/log/picindex//binlog.004
[Tue Jun  7 12:15:01.760 2011] [ 3438] binlog: index picindex: recovered from tid 125661 to tid 129795
[Tue Jun  7 12:15:01.760 2011] [ 3438] binlog: replay stats: 4134 rows in 4134 commits; 0 updates; 1 indexes
[Tue Jun  7 12:15:01.760 2011] [ 3438] binlog: finished replaying /usr/local/coreseek/var/log/picindex//binlog.004; 16.0 MB in 1.115 sec
[Tue Jun  7 12:15:01.760 2011] [ 3438] binlog: replaying log /usr/local/coreseek/var/log/picindex//binlog.005
[Tue Jun  7 12:15:03.223 2011] [ 3438] binlog: index picindex: recovered from tid 129795 to tid 134850
[Tue Jun  7 12:15:03.223 2011] [ 3438] binlog: replay stats: 5055 rows in 5055 commits; 0 updates; 1 indexes
[Tue Jun  7 12:15:03.223 2011] [ 3438] binlog: finished replaying /usr/local/coreseek/var/log/picindex//binlog.005; 16.0 MB in 1.462 sec
[Tue Jun  7 12:15:03.223 2011] [ 3438] binlog: replaying log /usr/local/coreseek/var/log/picindex//binlog.006
[Tue Jun  7 12:15:04.292 2011] [ 3438] binlog: index picindex: recovered from tid 134850 to tid 137879
[Tue Jun  7 12:15:04.292 2011] [ 3438] binlog: replay stats: 3029 rows in 3029 commits; 0 updates; 1 indexes
[Tue Jun  7 12:15:04.292 2011] [ 3438] binlog: finished replaying /usr/local/coreseek/var/log/picindex//binlog.006; 16.0 MB in 1.068 sec
[Tue Jun  7 12:15:04.292 2011] [ 3438] binlog: replaying log /usr/local/coreseek/var/log/picindex//binlog.007
[Tue Jun  7 12:15:05.019 2011] [ 3438] binlog: index picindex: recovered from tid 137879 to tid 138314
[Tue Jun  7 12:15:05.019 2011] [ 3438] binlog: replay stats: 435 rows in 435 commits; 0 updates; 1 indexes
[Tue Jun  7 12:15:05.019 2011] [ 3438] binlog: finished replaying /usr/local/coreseek/var/log/picindex//binlog.007; 16.0 MB in 0.726 sec
[Tue Jun  7 12:15:05.019 2011] [ 3438] binlog: replaying log /usr/local/coreseek/var/log/picindex//binlog.008
[Tue Jun  7 12:15:06.636 2011] [ 3438] binlog: index picindex: recovered from tid 138314 to tid 142888
[Tue Jun  7 12:15:06.636 2011] [ 3438] binlog: replay stats: 4574 rows in 4574 commits; 0 updates; 1 indexes
[Tue Jun  7 12:15:06.636 2011] [ 3438] binlog: finished replaying /usr/local/coreseek/var/log/picindex//binlog.008; 16.0 MB in 1.617 sec
[Tue Jun  7 12:15:06.636 2011] [ 3438] binlog: replaying log /usr/local/coreseek/var/log/picindex//binlog.009
[Tue Jun  7 12:15:07.891 2011] [ 3438] binlog: index picindex: recovered from tid 142888 to tid 146220
[Tue Jun  7 12:15:07.891 2011] [ 3438] binlog: replay stats: 3332 rows in 3332 commits; 0 updates; 1 indexes
[Tue Jun  7 12:15:07.891 2011] [ 3438] binlog: finished replaying /usr/local/coreseek/var/log/picindex//binlog.009; 16.0 MB in 1.254 sec
[Tue Jun  7 12:15:07.891 2011] [ 3438] binlog: replaying log /usr/local/coreseek/var/log/picindex//binlog.010
[Tue Jun  7 12:15:09.057 2011] [ 3438] binlog: index picindex: recovered from tid 146220 to tid 150077
[Tue Jun  7 12:15:09.057 2011] [ 3438] binlog: replay stats: 3857 rows in 3857 commits; 0 updates; 1 indexes
[Tue Jun  7 12:15:09.057 2011] [ 3438] binlog: finished replaying /usr/local/coreseek/var/log/picindex//binlog.010; 16.0 MB in 1.166 sec
[Tue Jun  7 12:15:09.057 2011] [ 3438] binlog: replaying log /usr/local/coreseek/var/log/picindex//binlog.011
[Tue Jun  7 12:15:10.249 2011] [ 3438] binlog: index picindex: recovered from tid 150077 to tid 153890
[Tue Jun  7 12:15:10.249 2011] [ 3438] binlog: replay stats: 3813 rows in 3813 commits; 0 updates; 1 indexes
[Tue Jun  7 12:15:10.249 2011] [ 3438] binlog: finished replaying /usr/local/coreseek/var/log/picindex//binlog.011; 16.0 MB in 1.191 sec
[Tue Jun  7 12:15:10.249 2011] [ 3438] binlog: replaying log /usr/local/coreseek/var/log/picindex//binlog.012
[Tue Jun  7 12:15:11.480 2011] [ 3438] binlog: index picindex: recovered from tid 153890 to tid 158305
[Tue Jun  7 12:15:11.480 2011] [ 3438] binlog: replay stats: 4415 rows in 4415 commits; 0 updates; 1 indexes
[Tue Jun  7 12:15:11.480 2011] [ 3438] binlog: finished replaying /usr/local/coreseek/var/log/picindex//binlog.012; 16.0 MB in 1.231 sec
[Tue Jun  7 12:15:11.480 2011] [ 3438] binlog: replaying log /usr/local/coreseek/var/log/picindex//binlog.013
[Tue Jun  7 12:15:12.696 2011] [ 3438] binlog: index picindex: recovered from tid 158305 to tid 162493
[Tue Jun  7 12:15:12.696 2011] [ 3438] binlog: replay stats: 4188 rows in 4188 commits; 0 updates; 1 indexes
[Tue Jun  7 12:15:12.696 2011] [ 3438] binlog: finished replaying /usr/local/coreseek/var/log/picindex//binlog.013; 16.0 MB in 1.215 sec
[Tue Jun  7 12:15:12.696 2011] [ 3438] binlog: replaying log /usr/local/coreseek/var/log/picindex//binlog.014
[Tue Jun  7 12:15:13.546 2011] [ 3438] binlog: index picindex: recovered from tid 162493 to tid 164804
[Tue Jun  7 12:15:13.546 2011] [ 3438] binlog: replay stats: 2311 rows in 2311 commits; 0 updates; 1 indexes
[Tue Jun  7 12:15:13.546 2011] [ 3438] binlog: finished replaying /usr/local/coreseek/var/log/picindex//binlog.014; 12.6 MB in 0.850 sec
[Tue Jun  7 12:15:13.546 2011] [ 3438] binlog: replaying log /usr/local/coreseek/var/log/picindex//binlog.015
[Tue Jun  7 12:15:32.661 2011] [ 3438] FATAL: disk chunk /usr/local/coreseek/var/data/picindex.0: prealloc failed: (null)
[Tue Jun  7 12:15:32.676 2011] [ 3437] Child process 3438 has been finished, exit code 1. Watchdog finishes also. Good bye!
beishang6499
会员
#18 | 发表时间: 2011 06 08 00:01
回复 
distributed index 'agent' can not be directly indexed; skipping.

为什么不能 分布式索引? 分布式索引该怎么做的?
以下是我的 分布式索引的这个文件 哪错了帮忙看下, 我本地的两个test1和test2索引都是成功的;
只有分布式索引总是被跳过, 无法使用,
求答案,谢谢
index agent
  {
          type = distributed
          agent = 192.168.1.252:3312:test1,test2
          #agent = 192.168.1.252:3312:test1
          path                    = /usr/local/coreseek/var/data/agent
          docinfo                 = extern
          charset_type            = zh_cn.utf-8
          charset_table = U+FF10..U+FF19->0..9, 0..9, U+FF41..U+FF5A->a..z, U+FF21..U+FF3A->a..z,\
          A..Z->a..z, a..z, U+0149, U+017F, U+0138, U+00DF, U+00FF, U+00C0..U+00D6->U+00E0..U+00F6,\
          U+00E0..U+00F6, U+00D8..U+00DE->U+00F8..U+00FE, U+00F8..U+00FE, U+0100->U+0101, U+0101,\
          U+0102->U+0103, U+0103, U+0104->U+0105, U+0105, U+0106->U+0107, U+0107, U+0108->U+0109,\
          U+0109, U+010A->U+010B, U+010B, U+010C->U+010D, U+010D, U+010E->U+010F, U+010F,\
          U+0110->U+0111, U+0111, U+0112->U+0113, U+0113, U+0114->U+0115, U+0115, \
          U+0116->U+0117,U+0117, U+0118->U+0119, U+0119, U+011A->U+011B, U+011B, U+011C->U+011D,\
          U+011D,U+011E->U+011F, U+011F, U+0130->U+0131, U+0131, U+0132->U+0133, U+0133, \
          U+0134->U+0135,U+0135, U+0136->U+0137, U+0137, U+0139->U+013A, U+013A, U+013B->U+013C, \
          U+013C,U+013D->U+013E, U+013E, U+013F->U+0140, U+0140, U+0141->U+0142, U+0142, \
          U+0143->U+0144,U+0144, U+0145->U+0146, U+0146, U+0147->U+0148, U+0148, U+014A->U+014B, \
          U+014B,U+014C->U+014D, U+014D, U+014E->U+014F, U+014F, U+0150->U+0151, U+0151, \
          U+0152->U+0153,U+0153, U+0154->U+0155, U+0155, U+0156->U+0157, U+0157, U+0158->U+0159,\
          U+0159,U+015A->U+015B, U+015B, U+015C->U+015D, U+015D, U+015E->U+015F, U+015F, \
          U+0160->U+0161,U+0161, U+0162->U+0163, U+0163, U+0164->U+0165, U+0165, U+0166->U+0167, \
          U+0167,U+0168->U+0169, U+0169, U+016A->U+016B, U+016B, U+016C->U+016D, U+016D, \
          U+016E->U+016F,U+016F, U+0170->U+0171, U+0171, U+0172->U+0173, U+0173, U+0174->U+0175,\
          U+0175,U+0176->U+0177, U+0177, U+0178->U+00FF, U+00FF, U+0179->U+017A, U+017A, \
          U+017B->U+017C,U+017C, U+017D->U+017E, U+017E, U+0410..U+042F->U+0430..U+044F, \
          U+0430..U+044F,U+05D0..U+05EA, U+0531..U+0556->U+0561..U+0586, U+0561..U+0587, \
          U+0621..U+063A, U+01B9,U+01BF, U+0640..U+064A, U+0660..U+0669, U+066E, U+066F, \
          U+0671..U+06D3, U+06F0..U+06FF,U+0904..U+0939, U+0958..U+095F, U+0960..U+0963, \
          U+0966..U+096F, U+097B..U+097F,U+0985..U+09B9, U+09CE, U+09DC..U+09E3, U+09E6..U+09EF, \
          U+0A05..U+0A39, U+0A59..U+0A5E,U+0A66..U+0A6F, U+0A85..U+0AB9, U+0AE0..U+0AE3, \
          U+0AE6..U+0AEF, U+0B05..U+0B39,U+0B5C..U+0B61, U+0B66..U+0B6F, U+0B71, U+0B85..U+0BB9, \
          U+0BE6..U+0BF2, U+0C05..U+0C39,U+0C66..U+0C6F, U+0C85..U+0CB9, U+0CDE..U+0CE3, \
          U+0CE6..U+0CEF, U+0D05..U+0D39, U+0D60,U+0D61, U+0D66..U+0D6F, U+0D85..U+0DC6, \
          U+1900..U+1938, U+1946..U+194F, U+A800..U+A805,U+A807..U+A822, U+0386->U+03B1, \
          U+03AC->U+03B1, U+0388->U+03B5, U+03AD->U+03B5,U+0389->U+03B7, U+03AE->U+03B7, \
          U+038A->U+03B9, U+0390->U+03B9, U+03AA->U+03B9,U+03AF->U+03B9, U+03CA->U+03B9, \
          U+038C->U+03BF, U+03CC->U+03BF, U+038E->U+03C5,U+03AB->U+03C5, U+03B0->U+03C5, \
          U+03CB->U+03C5, U+03CD->U+03C5, U+038F->U+03C9,U+03CE->U+03C9, U+03C2->U+03C3, \
          U+0391..U+03A1->U+03B1..U+03C1,U+03A3..U+03A9->U+03C3..U+03C9, U+03B1..U+03C1, \
          U+03C3..U+03C9, U+0E01..U+0E2E,U+0E30..U+0E3A, U+0E40..U+0E45, U+0E47, U+0E50..U+0E59, \
          U+A000..U+A48F, U+4E00..U+9FBF,U+3400..U+4DBF, U+20000..U+2A6DF, U+F900..U+FAFF, \
          U+2F800..U+2FA1F, U+2E80..U+2EFF,U+2F00..U+2FDF, U+3100..U+312F, U+31A0..U+31BF, \
          U+3040..U+309F, U+30A0..U+30FF,U+31F0..U+31FF, U+AC00..U+D7AF, U+1100..U+11FF, \
          U+3130..U+318F, U+A000..U+A48F,U+A490..U+A4CF
  
          mlock           = 0
          morphology      = none
          min_infix_len           = 1
          min_word_len        = 1
          html_strip      = 0
          charset_dictpath        = /usr/local/mmseg3/data/
          ngram_len                    = 1
  
          #wordforms = /data0/yfile/wordforms.txt
          #stopwords = /data0/yfile/stopwords.txt
  }
HonestQiao
会员
#19 | 发表时间: 2011 06 10 22:45
回复 
beishang6499:
distributed index 'agent' can not be directly indexed; skipping.

为什么不能 分布式索引? 分布式索引该怎么做的?
以下是我的 分布式索引的这个文件 哪错了帮忙看下, 我本地的两个test1和test2索引都是成功的;

这个只是一个提示信息啊。
分布式索引要由每个分布端自己去做索引更新,分布式主控端是没有任何权限去控制它更新的。
windleaf
会员
#20 | 发表时间: 2011 06 24 19:25
回复 
我用 searchd --config /ROOT/scripts/sphinx.conf 启动时,报错:
using config file '/ROOT/scripts/sphinx.conf'...
FATAL: 'searchd' config section not found in '/ROOT/scripts/sphinx.conf'

请问这可能是什么原因引起的?
HonestQiao
会员
#21 | 发表时间: 2011 07 06 13:50
回复 
配置文件中,没有'searchd' 的配置啊。
patrick
会员
#22 | 发表时间: 2011 07 27 18:29
回复 
搜索时,searchd.exe出错,跳出Visual Studio 实时调试器 报错: seardhd.exe [4180] 中发生未处理的win32异常!请帮忙解决
annatrov
会员
#23 | 发表时间: 2011 09 08 13:55 | 修改: annatrov
回复 
求解,coreseek 安装错误
OS:Redhat AS 5.5
MYSQL:5.5.15
coreseek :4.0.1
错误信息:(在MYSQL源码内make 到这里就失败)

[ 29%] Building CXX object storage/sphinx/CMakeFiles/sphinx.dir/ha_sphinx.cc.o
/soft/sphinx/mysql-5.5.15/storage/sphinx/ha_sphinx.cc: In member function ‘bool CSphSEQuery::ParseField(char*)’:
/soft/sphinx/mysql-5.5.15/storage/sphinx/ha_sphinx.cc:1709: 警告:在有符号和无符号整数表达式间比较
/soft/sphinx/mysql-5.5.15/storage/sphinx/ha_sphinx.cc: In member function ‘int ha_sphinx::Connect(const char*, ushort)’:
/soft/sphinx/mysql-5.5.15/storage/sphinx/ha_sphinx.cc:2096: 错误:‘GETHOSTBYNAME_BUFF_SIZE’ 在此作用域中尚未声明
/soft/sphinx/mysql-5.5.15/storage/sphinx/ha_sphinx.cc:2099: 错误:‘buff2’ 在此作用域中尚未声明
/soft/sphinx/mysql-5.5.15/storage/sphinx/ha_sphinx.cc:2099: 错误:‘my_gethostbyname_r’ 在此作用域中尚未声明
/soft/sphinx/mysql-5.5.15/storage/sphinx/ha_sphinx.cc:2102: 错误:‘my_gethostbyname_r_free’ 在此作用域中尚未声明
/soft/sphinx/mysql-5.5.15/storage/sphinx/ha_sphinx.cc:2113: 错误:‘my_gethostbyname_r_free’ 在此作用域中尚未声明
make[2]: *** [storage/sphinx/CMakeFiles/sphinx.dir/ha_sphinx.cc.o] 错误 1
make[1]: *** [storage/sphinx/CMakeFiles/sphinx.dir/all] 错误 2
make: *** [all] 错误 2
bernana
会员
#24 | 发表时间: 2011 09 08 16:33
回复 
求解:SetFilter不起作用

可以查询出结果。但是SetFilter后不发生作用。有人遇到过这个情况吗?
bluesmoothii
会员
#25 | 发表时间: 2011 09 08 17:35
回复 
至今遇到的两个比较麻烦的问题:
分词:不支持最细粒度分词。使用同义词和医院分词可以解决,但从技术的角度感觉比较牵强。
多索引排序:对更新的数据需要屏蔽主索引,网上找到说可以添加标记位和updateAttributes结合,比较模糊,没找到好的解决方案。
lsd1985
会员
#26 | 发表时间: 2011 10 20 21:16
回复 
windows系统,索引出错:
如图:[imgs=http://s2.sinaimg.cn/middle/6a8552f4xafbabe9b7bc1&690]索引时出错[/imgs]
sincos2005
会员
#27 | 发表时间: 2011 10 24 10:12
回复 
问题:MySQL在使用SphinxSE时报错,错误信息如下:
Error Code: 1429
Unable to connect to foreign data source: failed to resolve searchd host (name=localhost)
环境:
OS: WindowsXP with SP3
DB: MySQL 5.5.15
Coreseek 版本:coreseek-4.1-win32(直接从站点下载的原始执行文件,未经过编译)。
详细描述:
试过3.2.14和4.01,均出现这种情况。MySQL的Plugin插件文件ha_sphinx.dll,是原始文件未经我改动过。直接放入MySQL的lib/plugin目录下,在MySQL中运行show engines命令,能正常显示SphinxSE已经打开有效。按照手册上的指令,建立test库并导入三篇原始文章到MySQL中,命令行search查询成功。在test库中建立t1表,即SphinxSE所需要的检索结果中间表,CONNECTION="sphinx://localhost:9312/test";
就是这样,成功。之后运行:
bin\searchd --install -c etc\test.conf
启动查询service,成功,在“管理工具”中能看到searchd服务。之后,停止MySQL服务,再重启。这些都无任何异常。
但在MySQL中执行SELECT * FROM t1 WHERE query='test it;mode=any';
命令,就报出上面的错。这是MySQL的错误号,表示MySQL未能找到外部数据源。

请大侠给与指点,这是肿么回事?
jwang1973
会员
#28 | 发表时间: 2011 10 28 13:40 | 修改: jwang1973
回复 
问题已解决。
sausery
会员
#29 | 发表时间: 2011 11 18 11:01
回复 
indexer --merge main delta --rotate

这个命令的执行顺序是怎么样的?
是不是这样:
1、增量索引更新
2、合并到主索引
3、轮换索引
yunyiduo
会员
#30 | 发表时间: 2011 11 24 15:29
回复 
服务器是ubuntu 10.10,使用Coreseek Fulltext 3.2 [ Sphinx 0.9.9-release (r2117)]
使用了增量索引方式,共6个索引,main3个,delta3个,但是发现无法启动searchd,经过测试发现删掉其中任何一组索引后就能正常使用。
曾经在windows下也用过多余6个索引的,没有发现这个情况啊。
请问索引个数有限制吗?
 Page:  ««  1  2  3  4  5  6  7  »» 
回复
Bold Style  Italic Style  Image 链接  URL 链接 
发帖注意:
  • 网址中请去掉http://开头,例如:您需要输入www.coreseek.cn,而不是http://www.coreseek.cn
  • 咨询问题,请贴出详细的操作系统版本、Coreseek版本(Linux环境请给出编译参数)
  • 请仔细查看中文手册和本站安装指南,确认操作正确
  • 请仔细查看常见问题解答,也许你的问题已经有解决方法

» 帐号  » 密码 
发帖前请登陆, 或者 注册 .