搜索

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

31.VC6 编译 scws1.1.5 qsort 的参数问题

发布时间:2011-02-24 11:02 t By powerkylin

e:\scws\scws-1.1.5\libscws\xdb.c(555) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(const void *,const void *)'

32.XSDocument::addTerm

addTerm() 方法 public void addTerm(string $field, string $term, int $weight=1) $field string 词条所属字段名称 $term string 词条内容, 不超过 255字节 $weight int 词重, 默认为 1 源码: sdk/php/lib/XSDocument.class.php#L236 (显示) public fun...

33.XSIndex::openBuffer

openBuffer() 方法 public XSIndex openBuffer(int $size=4) $size int 缓冲区大小, 单位: MB 默认为 4MB {return} XSIndex 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L362 (显示) public function openBuffer($size = 4){ if ($this-...

34.XSSearch::setCutOff

setCutOff() 方法 public XSSearch setCutOff(int $percent, float $weight=0) $percent int 剔除匹配百分比低于此值的文档, 值范围 0-100 $weight float 剔除权重低于此值的文档, 值范围 0.1-25.5, 0 表示不剔除 {return} XSSearch 返回对象本...

35.XSUtil::fixWidth

fixWidth() 方法 public static string fixWidth(string $text, int $size, string $pad=' ') $text string 要修正的字符串 $size int 修正的目标宽度 $pad string 用于填充补足的字符 {return} string 源码: sdk/php/util/XSUtil.class.php#L50 (...

36.XSSearch

...Query array 获取修正后的搜索词列表 XSSearch dbTotal int 获取搜索数据库内的数据总量 XSSearch facets array 读取最近一次分面搜索记数 XSSearch hotQuery array 获取热门搜索词列表 XSSearch lastCount int 获取最近那...

37.Libscws C API 使用说明

更新时间:2010-12-30 22:12 t By hightman

...pedef struct { xdict_t d; rule_t r; unsigned char *mblen; unsigned int mode; unsigned char *txt; int len; int off; scws_res_t res0; scws_res_t res1; word_t **wmap; struct scws_zchar *zmap; } scws_st, *scws_t; struct scws_zchar { int start; int end; }; 注:xdict_t 和 rule...

38.XSSearch::setCollapse

setCollapse() 方法 public XSSearch setCollapse(string $field, int $num=1) $field string 依据该字段的值折叠搜索结果, 设为 null 则取消折叠 $num int 折叠后只是返最匹配的数据数量, 默认为 1, 最大值 255 {return} XSSearch 返回对象...

39.XSFieldScheme::getField

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

40.搜索全文时较慢,在0.5+秒,甚至1.0+秒【900M数据库】

更新时间:2013-07-05 15:07 t By chinapubmed

...http://www.chinapubmed.net/pub/search.php #机器配置 处理器: IntelXeon 5645/E5-2620*4(4核) 系 统: CentOS 6.2 64位 内 存: 2 GB ECC 这是用unix bench的跑分情况 [attachment=60] 应该说性能还算OK。 这是随便的一个top截图(流量比较小) ...

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