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

实时索引 ERROR 2013 (HY000): Lost connection to MySQL server during query

 
inter0518
会员
#1 | 发表时间: 2011 06 13 13:46
回复 
实时索引建立以后,在mysql客户端进行插入以及 select * from rtindex操作都没有问题,
可是当执行
select * from rtindex where match('something');
的时候就出现错误:
ERROR 2013 (HY000): Lost connection to MySQL server during query


不知到是怎么回事

配置文件为:

index rtindex
{
    type            = rt
    rt_mem_limit        = 512M
    path            =/usr/local/coreseek/var/data/rtindex
    docinfo                 = extern
    mlock                   = 0
    morphology        = none
    min_word_len            = 1
    html_strip                = 0
    charset_dictpath    = /usr/local/mmseg3/etc/
    charset_type        = zh_cn.utf-8
    
    rt_field        = title
    rt_field        = content
    rt_attr_uint        = gid

    rt_attr_string        = content
    rt_attr_string        = title
}

searchd
{
    listen            = 9312  
    listen            = 127.0.0.1:9306:mysql41

    log            = /usr/local/coreseek/var/log/searchd_rt.log
    query_log        = /usr/local/coreseek/var/log/query_rt.log
    read_timeout        = 5
    max_children        = 30
    pid_file        = /usr/local/coreseek/var/log/searchd_rt.pid
    max_matches        = 1000
    seamless_rotate        = 1
    preopen_indexes        = 0
    unlink_old        = 1
    workers            = threads # for RT to work
}
HonestQiao
会员
#2 | 发表时间: 2011 06 14 21:36
回复 
停止搜索,清空日志和数据,重新开始,看看还出问题吗?

出问题的话,把所有执行过程,写成代码发给我们测试,谢谢。
jerrytam
会员
#3 | 发表时间: 2011 11 09 11:43
回复 
每次重复测试我都删除了所有索引文件然后再重新索引的。每次到了作查询的时候就出问题了。
HonestQiao
会员
#4 | 发表时间: 2011 11 09 14:20
回复 
select title from rtindex where match('something');
看看结果如何
yuanlingqi
会员
#5 | 发表时间: 2011 11 09 16:54
回复 
你遇到的和我的问题是一样的,问题在于charset_type=zh_cn.utf-8,将之改成utf-8就就能解决问题,但只支持英文的分词搜索,改成中文就出这种问题。
jiedan
会员
#6 | 发表时间: 2011 11 12 17:40 | 修改: jiedan
回复 
我也碰到这个问题,但修改charset_type没用,郁闷

http://www.coreseek.cn/forum/2_1858_0.html
HonestQiao
会员
#7 | 发表时间: 2011 11 29 17:58
回复 
使用php/mysql来连接,情况如何呢?
 
回复
Bold Style  Italic Style  Image 链接  URL 链接 
发帖注意:
  • 网址中请去掉http://开头,例如:您需要输入www.coreseek.cn,而不是http://www.coreseek.cn
  • 咨询问题,请贴出详细的操作系统版本、Coreseek版本(Linux环境请给出编译参数)
  • 请仔细查看中文手册和本站安装指南,确认操作正确
  • 请仔细查看常见问题解答,也许你的问题已经有解决方法

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