[quote='hightman' pid='381' dateline='1324743531'] 多谢提供相关信息,将进一步排查,从提示看是不是你的数据库正在变动呢? [/quote] 呵呵,平安夜这么晚还回复啊。 刚又发生故障了,个别关键字频繁会报错。 我现在对出错原因也...
[quote='hightman' pid='3855' dateline='1291116538'] 是的,这是一个已经知道的BUG了(由于1.1.3版升级PHP的API导致的笔误),CVS代码中已经修正,但目前还没有发布新的 1.1.4版本。 建议直接用对像操作方式,即 $scws = scws_new(); $scws->get_resul...
[quote='hightman' pid='3815' dateline='1288441762'] 你最好直接做一个 输出 phpinfo 的页面,然后再在上面看真正生效的php.ini以及相关配置 extension_dir 等的值 你这个情况多数是路径或PHP.INI位置不对 [/quote] 确实,太谢谢了。输出一下...
[quote='bigxu' pid='8902' dateline='1419909241'] http://www.xunsearch.com/site/search?q=addterm http://www.xunsearch.com/site/search?q=%E8%A6%81%E6%B1%82%E6%90%9C%E7%B4%A2%E7%BB%93%E6%9E%9C%E4%B8%AD%E4%B8%8D%E5%90%AB%E7%89%B9%E5%AE%9A%E5%85%B3%E9%94%AE%E8%AF%8D [/quote] 我用的就是 addte...
[quote='hightman' pid='6055' dateline='1305957974'] 你应该进入 scws-1.1.7/phpext/ 目录运行 phpize 啊 [/quote] 你好 可是我的scws目录没有phpext这个文件夹呀 下面是我的文件列表 [root@localhost scws-1.1.7]# ls -ltr 总计 32 drwxr-xr-x 3 root root 4096 05-2...
[quote='yunxiaoad2' pid='822' dateline='1336696429'] 你这样不是过滤蜘蛛,是“通过代码中的域名访问时,可以记录log”,但从你2小时未记录log来看,似乎用户后者搜索引擎能通过别的域名访问你的网站 比如,你在代码中配置的是www.xxxx....
[quote]int scws_has_word(scws_t s, char *xattr) { int off, cnt, xmode = SCWS_NA; scws_res_t res, cur; char *word; word_attr *at = NULL; if (!s || !s->txt) return 0; __PARSE_XATTR__; // save the offset. (cnt -> return_value) off = s->off; ...
[quote='hightman' pid='3931' dateline='1293700705'] 多谢,回看了一下代码,这句确实可能导致问题。只有一个地方 len + 1,汗可能当时基于某些考虑这么作。 查到问题了,当初是为了给读到的 value 补 \0,其实本来就不是很必要的步骤,...
...不是你启用了 beginRebuild() 却没有 endRebuild() 关闭它? [quote='deling007' pid='1091' dateline='1346655726'] $index->flushIndex(); 或 php Indexer.php --flush -p /var/www/xunsearch/goods.ini 用过后队列数还是没有改变,索引还是没有增加进去,仿佛就在...
[quote='mengfanchao' pid='216' dateline='1321349008'] 我晕,要不影响我提问干吗。我用 date 格式化它,显示的是 1970什么的。 [/quote] 直接传给 date 就可以了,不要试图进行 intval 要用就用 floatval 或直接 (float) $var