搜索

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

21.XSSearch::getLastCount

getLastCount() 方法 public int getLastCount() {return} int 匹配数据量, 如从未搜索则返回 false 源码: sdk/php/lib/XSSearch.class.php#L650 (显示) public function getLastCount(){ return $this->_lastCount;} 获取最近那次搜索的匹配总数估值

22.XSSearch.allSynonyms

allSynonyms 属性 只读 (自版本 v1.3.0 起可用) public array getAllSynonyms(int $limit=0, int $offset=0, bool $stemmed=false) 获取当前库内的全部同义词列表

23.XSServer::execCommand

execCommand() 方法 public mixed execCommand(mixed $cmd, int $res_arg=0, int $res_cmd=128) $cmd mixed 要提交的指令, 若不是 XSCommand 实例则作为构造函数的第一参数创建对象 $res_arg int 要求的响应参数, 默认为 XS_CMD_NONE 即不检测, 若检...

24.xdb追加的遍历接口

发布时间:2012-06-17 13:06 t By hit

...文件追加 [code] typedef struct xdb_tree_node { char *key; int vlen; int voff; struct xdb_tree_node* next; } xdb_tree_list, *xdb_tree_plist; int travel_index = -1; xdb_tree_plist _xdb_tree_plist = NULL; void _xdb_next_tree_read(xdb_t x, xptr_t ptr) { if (ptr->len !...

25.XSServer::setTimeout

setTimeout() 方法 public void setTimeout(int $sec) $sec int 秒数, 设为 0则永不超时直到客户端主动关闭 源码: sdk/php/lib/XSServer.class.php#L264 (显示) public function setTimeout($sec){ $cmd = array('cmd' => XS_CMD_TIMEOUT, 'arg' => $sec); $this->execC...

26.XSSearch::getDbTotal

getDbTotal() 方法 public int getDbTotal() {return} int 数据总量 源码: sdk/php/lib/XSSearch.class.php#L659 (显示) public function getDbTotal(){ $cmd = new XSCommand(XS_CMD_SEARCH_DB_TOTAL); $res = $this->execCommand($cmd, XS_CMD_OK_DB_TOTAL); $tmp = unpack('Itot...

27.XSIndex::getScwsMulti

getScwsMulti() 方法 (自版本 v1.4.7 起可用) public int getScwsMulti() {return} int 返回当前库的分词复合等级 源码: sdk/php/lib/XSIndex.class.php#L347 (显示) public function getScwsMulti(){ $cmd = array('cmd' => XS_CMD_SEARCH_SCWS_GET, 'arg1' => XS_CMD_SCW...

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

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

... array(2) { [0]=> array(5) { ["word"]=> string(9) "笔记本" ["off"]=> int(0) ["len"]=> int(9) ["idf"]=> float(4.78000020981) ["attr"]=> string(1) "n" } [1]=> array(5) { ["word"]=> string(6) "电脑" ["off"]=> int(9) ["len"]=> int(6) ["idf"]=> float(4.11999988556) ["attr"]=> string(1) "...

29.XSSearch::addSearchLog

...(自版本 v1.1.1 起可用) public void addSearchLog(string $query, int $wdf=1) $query string 需要记录的数据 $wdf int 需要记录的次数, 默认为 1 源码: sdk/php/lib/XSSearch.class.php#L831 (显示) public function addSearchLog($query, $wdf = 1){ $cmd = a...

30.XSTokenizerScws::setMulti

setMulti() 方法 public XSTokenizerScws setMulti(int $mode=3) $mode int 复合选项, 值范围 0~15 默认为值为 3, 可使用常量组合: SCWS_MULTI_SHORT|SCWS_MULTI_DUALITY|SCWS_MULTI_ZMAIN|SCWS_MULTI_ZALL {return} XSTokenizerScws 返回对象本身以支持串接操...

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