搜索

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

81.XSFieldMeta

...继承来的属性 名称类型描述定义于 cutlen int 剪取长度 (单位:字节) 用于在返回搜索结果自动剪取较长内容的字段, 默认为 0表示不截取, body 型字段默认为 300 字节 XSFieldMeta name string 字段名称 理论上支持各...

82.[2013] SCWS-1.2.2 发布,BSD协议、支持自定义词库、PHP5.4

更新时间:2013-07-11 21:07 t By hightman

...[/color]--[/size] 1. [libscws] scws_set_dict(scws_t s, const char *fpath, int mode); scws_add_dict(scws_t s, const char *fpath, int mode); scws_set_dict 为原有功能,scws_add_dict 是新增功能,2者功能相当接近,只是 scws_set_dict 会把 scws handler 现存的词库表 ...

83.XS::getField

...$throw=true) $name mixed 字段名称(string) 或字段序号(vno, int) $throw bool 当字段不存在时是否抛出异常, 默认为 true {return} XSFieldMeta 字段元数据对象 源码: sdk/php/lib/XS.class.php#L514 (显示) public function getField($name, $throw = ...

84.libscws的问题

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

..., 代码如下: [php] #include #include #include #include int main(int argc, char *argv[]) { scws_t s; scws_res_t res, cur; char *text;// = "Hello, 我名字叫李那曲是一个中国人, 我有时买Q币来玩, 我还听说过C#语言"; text = "...

85.scws加载词库和规则集失败,使用者为啥不知道呢?

更新时间:2010-12-09 22:12 t By lauxinz

...没有继续判断scws构体中xdict_t 和 rule_t 指针了。 [code]int scws_add_dict(scws_t s, const char *fpath, int mode) { xdict_t xx; if (mode & SCWS_XDICT_SET) { xdict_close(s->d); mode ^= SCWS_XDICT_SET; s->d = NULL; } xx = s->d; s->d = xdict_add(s->d, fpath, mode,...

86.好消息,scws-0.0.1 pre 版发布!!

发布时间:2007-06-09 11:06 t By hightman

..._20070525_H_ *************** *** 54,59 **** --- 54,60 ---- unsigned int fsize; /* total filesize */ int version; /* version: low 4bytes */ char *fmap; /* file content image by mmap (read only) */ + int mode; /* xdb_open for write or read-only */ } xdb_st, *xdb_t; ...

87.关于排序问题

更新时间:2014-05-08 17:05 t By sszwei

...meric [yyy] type = numeric [/quote] 申明 也对写入的数据做了int float操作 然后在 [quote] $search->setQuery($array['word']); if(isset($array['sort'])) { $search->setSort($array['sort']); } $search->setLimit($array['limit'], $array['offset']); $search->search(); $...

88.问一个关于线程安全的问题

发布时间:2011-05-07 18:05 t By lauxinz

...ct.h文件中,有这么一行注释,能否说明一下: /* return pointer to static data, DO NOT use two or more times in one line, Non-ThreadSafe */ word_t xdict_query(xdict_t xd, const char *key, int len); xdict_query() 不是线程安全的? 看代码xdict_query()是线程安全...

89.【求助】无法正确搜索结果

发布时间:2012-03-04 15:03 t By flyxl

...-----+-------------+------+-----+---------+----------------+ | id | int(11) | NO | PRI | NULL | auto_increment | | name | varchar(20) | NO | | | | | phonenum | varchar(40) | YES | | NULL | | +----------+-------------+-----...

90.帮忙看下安装的问题

更新时间:2011-11-07 00:11 t By zxing

...es checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking...

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