搜索

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

11.XSIndex::getScwsMulti

...function getScwsMulti(){ $cmd = array('cmd' => XS_CMD_SEARCH_SCWS_GET, 'arg1' => XS_CMD_SCWS_GET_MULTI); $res = $this->execCommand($cmd, XS_CMD_OK_INFO); return intval($res->buf);} 获取当前索引库的分词复合等级

12.XSIndex::endRebuild

...d = false; $this->execCommand(array('cmd' => XS_CMD_INDEX_REBUILD, 'arg1' => 1), XS_CMD_OK_DB_REBUILD); } return $this;} 完成并关闭重建索引 重建完成后调用, 用重建好的索引数据代替旧的索引数据

13.XSIndex::beginRebuild

...eginRebuild(){ $this->execCommand(array('cmd' => XS_CMD_INDEX_REBUILD, 'arg1' => 0), XS_CMD_OK_DB_REBUILD); $this->_rebuild = true; return $this;} 开始重建索引 此后所有的索引更新指令将写到临时库, 而不是当前搜索库, 重建完成后调用 endRebuild 实现平...

14.XSIndex::stopRebuild

...{ try { $this->execCommand(array('cmd' => XS_CMD_INDEX_REBUILD, 'arg1' => 2), XS_CMD_OK_DB_REBUILD); $this->_rebuild = false; } catch (XSException $e) { if ($e->getCode() !== XS_CMD_ERR_WRONGPLACE) { throw $e; } } return $this;} 中止索引重...

15.XSCommand::__toString

...str($this->buf1, 0, 0xff); } return pack('CCCCI', $this->cmd, $this->arg1, $this->arg2, strlen($this->buf1), strlen($this->buf)) . $this->buf . $this->buf1;} 转换为封包字符串

16.XSSearch::getSynonyms

... return false; } $cmd = array('cmd' => XS_CMD_SEARCH_GET_SYNONYMS, 'arg1' => 2, 'buf' => $term); $res = $this->execCommand($cmd, XS_CMD_OK_RESULT_SYNONYMS); $ret = $res->buf === '' ? array() : explode("\n", $res->buf); return $ret;} 获取指定词汇的同义词列表

17.重启xunsearch

更新时间:2012-03-27 10:03 t By bigxu

... try_times=5 if [[ $1 == 'help' || $4'x' == 'x' ]] then echo "arg1 try:url,example http://www.xunsearch.com/site/search?q=demo " echo "arg2 res_content,example:RE (content of arg1 must include arg2) " echo "arg3 path of xs_ctl.sh example: /usr/local/services/xunsearch/bin/xs-c...

18.XSIndex::setScwsMulti

... 0 && $level < 16) { $cmd = array('cmd' => XS_CMD_SEARCH_SCWS_SET, 'arg1' => XS_CMD_SCWS_SET_MULTI, 'arg2' => $level); $this->execCommand($cmd); } return $this;} 设置当前索引库的分词复合等级 复合等级是 scws 分词粒度控制的一个重要参数, 是长词...

19.XSSearch::setScwsMulti

... 0 && $level < 16) { $cmd = array('cmd' => XS_CMD_SEARCH_SCWS_SET, 'arg1' => XS_CMD_SCWS_SET_MULTI, 'arg2' => $level); $this->execCommand($cmd); } return $this;} 设置当前搜索语句的分词复合等级 复合等级是 scws 分词粒度控制的一个重要参数, 是长...

20.XSSearch::getAllSynonyms

...md = array('cmd' => XS_CMD_SEARCH_GET_SYNONYMS, 'buf1' => $page); $cmd['arg1'] = $stemmed == true ? 1 : 0; $res = $this->execCommand($cmd, XS_CMD_OK_RESULT_SYNONYMS); $ret = array(); if (!empty($res->buf)) { foreach (explode("\n", $res->buf) as $line) { $value = explode...

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