搜索

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

81.RE: scws_has_word的逻辑问题

发布时间:2010-08-02 11:08 t By backluck

[quote='backluck' pid='3650' dateline='1280380226'] [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 th...

82.在使用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...

83.复合分词的级别"multi" 可以设置分词的长度吗?

发布时间:2012-07-19 11:07 t By calvin

[php] header("Content-type: text/html; charset=utf-8"); var_dump(SCWS('中文分词解析,我的个神啊')); //中文分词解析 function SCWS($title) { set_time_limit(0); $data = array("data"=>$title,"respond"=>"json","ignore"=>'yes', "multi"=>3); $data = http_build_query($data); $r...

84.RE: 搜索进程假死

发布时间:2012-05-23 10:05 t By dancebear

... timeout (TIMEOUT:5) 2012-05-23 09:57:04 worker3[21903] [sock:130] end the scws (RC:131, CONN:0xad577d0) 2012-05-23 09:57:09 worker1[20683] caught SIGINT, shutdown gracefully 2012-05-23 09:57:09 worker1[20683] get NULL pointer from pipe, shutdown gracefully 2012-05-23 09:57:09 worker1[20683] event s...

85.xunsearch-1.0.0 正式版

更新时间:2011-09-30 14:09 t By hightman

...是采用 C/C++ 开发多线程服务端,索引设计基于 Xapian 和 scws 中文分词。单库最多支持 40 亿条数据,在 500 万网页大约 1.5TB 的数据中检索时间不超过 1 秒(非缓存)。 [b]简单易用:[/b]前端是使用脚本语言编写的开发工具 (SDK),目...

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

发布时间:2011-01-17 16:01 t By hightman

...可以自己打一下补丁然后重新编译即可。 [code] Index: libscws/scws.c RCS file: /home/cvsroot/scws/libscws/scws.c,v retrieving revision 1.18 retrieving revision 1.19 diff -c -r1.18 -r1.19 *** libscws/scws.c 22 Oct 201...

87.scws_has_word的逻辑问题

更新时间:2010-07-29 14:07 t By backluck

[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; ...

88.RE: scws下载不了啊

发布时间:2010-03-22 19:03 t By hightman

对啊 1.1.0 停止下载了,因为有BUG,现在最新的是 1.1.1 引擎不区分字符集的

89.RE: 安装scws-1.1.2 时 php扩展出现问题。

发布时间:2010-08-13 15:08 t By zr443

我也需要这样的问题,我的是FreeBSD8.0 test.c都通不过,提示找不到scws.h 不知改如何解决啊。

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

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

...(这是1.1.0起新加的功能,所以1.0.x的版本无此bug) #define SCWS_WORD_MALLOCED 0x100 只要将 0x100 改变 0x80 即可,因为 struct scws_word 中定义的 flag 为 unsigned char 即 8bit, 容不下 0x100 导致,所有的 ->flag |= SCWS_WORD_MALLOCED 失效,以至于在 scws.c ...

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