搜索

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

1.XSIndex::execCommand

execCommand() 方法 public void execCommand($cmd, $res_arg=0, $res_cmd=128) $cmd $res_arg $res_cmd 源码: sdk/php/lib/XSIndex.class.php#L44 (显示) public function execCommand($cmd, $res_arg = XS_CMD_NONE, $res_cmd = XS_CMD_OK){ $res = parent::execComm...

2.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 即不检测, 若检...

3.XSIndex

...词 XSIndex endRebuild() 完成并关闭重建索引 XSIndex execCommand() 执行服务端指令并获取返回值 XSIndex flushIndex() 强制刷新服务端的当前库的索引缓存 XSIndex flushLogging() 强制刷新服务端当前项目的搜索日志 XSIndex ...

4.XSIndex::del

...uffer(implode('', $cmds)); } elseif (count($cmds) == 1) { $this->execCommand($cmds[0], XS_CMD_OK_RQST_FINISHED); } else { $cmd = array('cmd' => XS_CMD_INDEX_EXDATA, 'buf' => implode('', $cmds)); $this->execCommand($cmd, XS_CMD_OK_RQST_FINISHED); } return $this;} ...

5.XSSearch

...XSServer count() 估算搜索语句的匹配数据量 XSSearch execCommand() 执行服务端指令并获取返回值 XSServer getAllSynonyms() 获取当前库内的全部同义词列表 XSSearch getConnString() Returns 连接字符串 XSServer getCorrectedQuery() ...

6.XSIndex::getCustomDict

...class.php#L484 (显示) public function getCustomDict(){ $res = $this->execCommand(XS_CMD_INDEX_USER_DICT, XS_CMD_OK_INFO); return $res->buf;} 获取自定义词典内容

7.XSIndex::clean

...php/lib/XSIndex.class.php#L59 (显示) public function clean(){ $this->execCommand(XS_CMD_INDEX_CLEAN_DB, XS_CMD_OK_DB_CLEAN); return $this;} 完全清空索引数据 如果当前数据库处于重建过程中将禁止清空

8.XSIndex::setCustomDict

...cmd' => XS_CMD_INDEX_USER_DICT, 'arg1' => 1, 'buf' => $content); $this->execCommand($cmd, XS_CMD_OK_DICT_SAVED);} 设置自定义词典内容

9.XSServer::setTimeout

...($sec){ $cmd = array('cmd' => XS_CMD_TIMEOUT, 'arg' => $sec); $this->execCommand($cmd, XS_CMD_OK_TIMEOUT_SET);} 设置服务端超时秒数

10.XSTokenizerScws::getVersion

...S_CMD_SEARCH_SCWS_GET, XS_CMD_SCWS_GET_VERSION); $res = self::$_server->execCommand($cmd, XS_CMD_OK_INFO); return $res->buf;} 获取 scws 版本号

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