搜索

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

41.XSSearch::count

count() 方法 public int count(string $query=NULL) $query string 搜索语句, 若传入 null 使用默认语句, 调用后会还原默认排序方式 如果搜索语句和最近一次 search 的语句一样, 请改用 getLastCount 以提升效率 最大长度为 80 字...

42.XSIndex::setScwsMulti

...i() 方法 (自版本 v1.4.7 起可用) public XSIndex setScwsMulti(int $level) $level int 要设置的分词复合等级 {return} XSIndex 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L331 (显示) public function setScwsMulti($level){ ...

43.XSSearch::setScwsMulti

...() 方法 (自版本 v1.4.7 起可用) public XSSearch setScwsMulti(int $level) $level int 要设置的分词复合等级 {return} XSSearch 返回自身对象以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L444 (显示) public function setScwsMulti($level){ ...

44.libscws 段错误的 bug 修正

发布时间:2007-07-05 09:07 t By hightman

...下红色部分判断. [code] static void _scws_mset_word(scws_t s, int i, int j) { word_t item; item = s->wmap[i][j]; /* hightman.070705: 加入 item == null 判断, 防止超长词(255字以上)unsigned char溢出 */ if ((item == NULL) || ((s->mode & SCWS_IGN_SYMBOL) && !memcmp(item...

45.XSServer::read

read() 方法 protected string read(int $len) $len int 要读入的长度 {return} string 成功时返回读到的字符串 源码: sdk/php/lib/XSServer.class.php#L404 (显示) protected function read($len){ // quick return for zero size if ($len == 0) { retu...

46.RE: 怎样才能 字母数字汉字组合 按照词典分成一个词语呢?

更新时间:2013-07-03 16:07 t By shuyinglee

..._IGN_SYMBOL; } +/* shuying.lee adds it */ +void scws_use_rule(scws_t s, int yes) +{ + if (yes == SCWS_YEA) + s->mode |= SCWS_USE_RULE; + + if (yes == SCWS_NA) + s->mode &= ~SCWS_USE_RULE; +} + void scws_set_multi(scws_t s, int mode) { s->mode &= ~SCWS_MULTI_MASK; @@ -1135,6 +1148,11 @@ c...

47.安装时候编译错误,求助!!!

发布时间:2013-03-26 16:03 t By xiwillo

./.libs/libflintcheck.a(flint_check.o)(.text+0x1144): In function `BtreeCheck::check(char const*, std::basic_string const&, int, std::basic_ostream&)': : undefined reference to `FlintTable::~FlintTable()' ./.libs/libflintcheck.a(flint_check.o)(.text+0x12a0): In function `BtreeCheck::check(char con...

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

更新时间:2010-11-13 10:11 t By snakeyasin

...[/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 现存的词库表 ...

49.XSSearch::getHotQuery

getHotQuery() 方法 public array getHotQuery(int $limit=6, string $type='total') $limit int 需要返回的热门搜索数量上限, 默认为 6, 最大值为 50 $type string 排序类型, 默认为 total(搜索总量), 可选值还有 lastnum(上周), currnum(本周) {re...

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

发布时间:2012-11-06 22:11 t By umland

...[/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 现存的词库表 ...

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