...../usr/local/xunse/sdk/php/lib/XS.php(1464): Unexpected respond in search {CMD:129, ARG:514} 还是该错误 已更新和设置 无法解决 [/quote] 这个错是数据库没有准备就绪吧,是不是你还没有导入任何数据就尝试开始检索了? 或者贴上你的代码...
按“说明”里的方法 ,我在CMD里做了如下输入 ,能运行,但是导不出内容来: 怎么回事呢?能正常运行分词的功能。 F:\phpStudy\PHP5> php F:\www\test\pscws23\XDB-IO\dump_xdb_file.php F:\www\test\pscws23\XDB-IO\dictxdb C:\xx.txt 请教HM,谢谢!
下载了【php_scws.dll(2) PHP扩展库 Windows/PHP 5.2.x 】,并按要求拷贝。 cmd运行php后出现不能初始化 scws模块提示。 我的php版本是5.14,一定要升级到5.2以上吗?还是有别的问题
2012-03-03 19:34:00 indexd[2970] new connection (SOCK:7, IP:127.0.0.1, BURST:1) 2012-03-03 19:34:00 indexd[2970] [sock:7] unable to allocate memory for ZCMD (CMD:79, SIZE:1763734736) 2012-03-03 19:34:00 indexd[2970] [sock:7] quit, out of memory
...Unknown Internal Error(S#600) XS.php(1550): Unexpected respond in search {CMD:129, ARG:600} quit, IO error (ERROR:Broken pipe): XS.php(2165): Failed to recv the data from server completely (SIZE:0/8, REASON:timeout) quit, IO timeout (TIMEOUT:5): XS.php(2165): Failed to recv the data fro...
...ield, $term, $weight = 1){ return $this->addQueryTerm($field, $term, XS_CMD_QUERY_OP_AND_MAYBE, $weight);} 添加权重索引词 无论是否包含这种词都不影响搜索匹配, 但会参与计算结果权重, 使结果的相关度更高
...->buf1 = substr($this->buf1, 0, 0xff); } return pack('CCCCI', $this->cmd, $this->arg1, $this->arg2, strlen($this->buf1), strlen($this->buf)) . $this->buf . $this->buf1;} 转换为封包字符串
...n] ../../xunsearch/sdk/php/lib/XS.php(1436): Unexpected respond in search {CMD:129, ARG:515} thrown in /usr/local/xunsearch/sdk/php/lib/XS.php on line 1436
...../usr/local/xunse/sdk/php/lib/XS.php(1464): Unexpected respond in search {CMD:129, ARG:514} 还是该错误 已更新和设置 无法解决 [/quote] 这个错是数据库没有准备就绪吧,是不是你还没有导入任何数据就尝试开始检索了? 或者贴上你的代码...
...sr/local/xunsearch/sdk/php/lib/XS.php(1552): Unexpected respond in search {CMD:129, ARG:514} 代码如下 $xs = new XS('discuz'); $tokenizer = new XSTokenizerScws; $subject = $tokenizer->getTops($forumattr['subject'], 20, 'n,ns'); $stack = array(); foreach($subject as $word) { array_push($stack,...