搜索

大约有 400 项符合查询结果, 库内数据总量为 3,513 项。 (搜索耗时:0.0084秒)

161.libscws的问题

发布时间:2009-12-02 16:12 t By nftw

...中国的程序员"; if(argc == 2) text = argv[1]; if (!(s = scws_new())) { printf("error, can't init the scws_t!\n"); exit(-1); } scws_set_charset(s, "gbk"); scws_set_multi(s, 1); scws_set...

162.XSException::getRelPath修改建议

发布时间:2012-08-30 16:08 t By bkkkd

... if ($from === dirname($from)) { $rel .= substr($to, 1); break; } if (!strncmp($from . DIRECTORY_SEPARATOR, $to, strlen($from) + 1)) { $rel .= substr($to, strlen($from) + 1); break; } ...

163.RE: 1.1.2的 自定义字典无法使用

更新时间:2010-05-23 22:05 t By 逆雪寒

...] 再次确定了下,显式加载字典后.总有点异常情况. http://116.252.185.149/fs360/web.php?words=%E9%82%A3%E6%98%AF%E4%BD%A0%E7%9A%84%E7%AC%94%E8%AE%B0%E6%9C%AC%E7%94%B5%E8%84%91%E5%90%97&wq=%E6%90%9C%E7%B4%A2 比如这个:我搜得是 "那是你的笔记本电脑吗" 在 ff ...

164.RE: 三个问题需要求教

更新时间:2011-01-21 10:01 t By nftw

...- > strcpy(wmap[i][i]->attr, SCWS_IS_ALPHA(txt[start-1]) ? attr_en : attr_un); // modified by hightman[hr] [root@estar scws-1.1.5]# /usr/local/bin/scws -A -d "/usr/local/scws/etc/dict.xdb" "LG集团5.3%" LG/en 集团/n 5.3/en %/un +--[scws(scws-cli/1.1.5)]----------+ | TextLen...

165.在使用scws中遇到的怪问题,ip地址问题和网址都好像有点问题

更新时间:2010-05-25 16:05 t By laxin

好象IP地址也分了.比如:192.168.0.1,结果是: No. WordString Attr Weight(times) ------------------------------------------------- 01. 192.168 en 4.86(1) 02. 0.1 en 2.75(1) http://www.163.com No. WordString A...

166.RE: 报告一个内存泄露bug,1.1.6版本

发布时间:2011-05-08 00:05 t By hightman

...也比较轻,所以暂不强制提供升级版本。 [code] diff -c -r1.20 scws.c *** scws.c 19 Apr 2011 08:00:23 -0000 1.20 --- scws.c 7 May 2011 14:57:49 -0000 *************** *** 1328,1334 **** } // free at ! free(at); top = NULL; ...

167.RE: xunsearch安装完成后运行示例错误

更新时间:2011-09-14 09:09 t By nick

[quote='hightman' pid='7' dateline='1315934809'] 您 的PHP版本?是否先运行 util/RequiredCheck.php 测试一下,看上去你的PHP似乎 不支持 __toString() [/quote] 谢谢您的回复,我把错误打出来了,大致是这样的一个错,不像是String的问题: [root@loc...

168.RE: [2010] SCWS-1.1.3 发布,支持文本词典实现自定义词库啦!!

更新时间:2010-10-22 19:10 t By hightman

...需自行修改请按以下方式修改: [code] *** scws.c 8 May 2010 17:28:30 -0000 1.17 --- scws.c 22 Oct 2010 11:09:46 -0000 1.18 *************** *** 1035,1041 **** /* try to parse the sentence */ s->off = off; ch = txt[off]; ! if (SCWS_CHAR_TO...

169.RE: 为什么程序消耗的内存越来越大

更新时间:2010-03-04 18:03 t By hightman

...感谢您的汇报,经仔细跟踪已经发现bug所在,稍后会发布1.1.1版本。 bug位地 xdict.h 中的(这是1.1.0起新加的功能,所以1.0.x的版本无此bug) #define SCWS_WORD_MALLOCED 0x100 只要将 0x100 改变 0x80 即可,因为 struct scws_word 中定义的 flag 为 u...

170.addRange的范围无效?

发布时间:2012-12-26 15:12 t By weizhao

..., 243239)->search() 搜不出结果, 但是搜 $search->addRange('id', 1, 243239)->search()能搜出结果 query 语句解析出来是这样的 "Xapian::Query(VALUE_RANGE 0 31 243239))" 无结果 "Xapian::Query(VALUE_RANGE 0 1 243239))" 有结果 请问下为什么?

  • 时间不限
  • 按相关性排序