搜索

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

301.XSServer::setProject

...上的目录路径, 可选参数(不得超过255字节). 源码: sdk/php/lib/XSServer.class.php#L251 (显示) public function setProject($name, $home = ''){ if ($name !== $this->_project) { $cmd = array('cmd' => XS_CMD_USE, 'buf' => $name, 'buf1' => $home); $this->execCommand($...

302.XSDatabaseMySQL::setUtf8

...) {return} bool MySQL 自 4.1.0 起支持字符集 源码: sdk/php/util/XSDataSource.class.php#L534 (显示) public function setUtf8(){ if (version_compare(mysql_get_server_info($this->link), '4.1.0', '>=')) { return @mysql_query("SET NAMES utf8", $this->link); } return ...

303.XSDocument::addIndex

...本所属的字段名称 $text string 文本内容 源码: sdk/php/lib/XSDocument.class.php#L256 (显示) public function addIndex($field, $text){ $field = strval($field); if (!is_array($this->_texts)) { $this->_texts = array(); } if (!isset($this->_texts[$field])) { ...

304.XSIndex::flushIndex

...n} bool 刷新成功返回 true, 失败则返回 false 源码: sdk/php/lib/XSIndex.class.php#L466 (显示) public function flushIndex(){ try { $this->execCommand(XS_CMD_INDEX_COMMIT, XS_CMD_OK_DB_COMMITED); } catch (XSException $e) { if ($e->getCode() === XS_CMD_ERR_BUSY...

305.XSSearch::setFuzzy

...turn} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L84 (显示) public function setFuzzy($value = true){ $this->_defaultOp = $value === true ? XS_CMD_QUERY_OP_OR : XS_CMD_QUERY_OP_AND; return $this;} 开启模糊搜索 默认情况只返...

306.XSServer::hasRespond

...{return} bool 如果有返回 true, 否则返回 false 源码: sdk/php/lib/XSServer.class.php#L350 (显示) public function hasRespond(){ // check socket if ($this->_sock === null || $this->_flag & (self::BROKEN | self::FILE)) { return false; } $wfds = $xfds = array(); ...

307.XSDatabasePDO::connect

... $param array 连接参数, 包含: user, pass ... 源码: sdk/php/util/XSDataSource.class.php#L818 (显示) public function connect($param){ $dsn = $this->makeDsn($param); $user = isset($param['user']) ? $param['user'] : 'root'; $pass = isset($param['pass']) ? $param['pass'] :...

308.XSDocument::setField

... 字段值 $isMeta bool 是否为元数据字段 源码: sdk/php/lib/XSDocument.class.php#L170 (显示) public function setField($name, $value, $isMeta = false){ if ($value === null) { if ($isMeta) { unset($this->_meta[$name]); } else { unset($th...

309.XSDocument::__set

...ame string 字段名称 $value mixed 字段值 源码: sdk/php/lib/XSDocument.class.php#L93 (显示) public function __set($name, $value){ if ($this->_meta !== null) { throw new XSException('Magick property of result document is read-only'); } $this->setField($name, ...

310.XSDocument::getAddTerms

...词列表(词为键, 词重为值), 若无则返回 null 源码: sdk/php/lib/XSDocument.class.php#L202 (显示) public function getAddTerms($field){ $field = strval($field); if ($this->_terms === null || !isset($this->_terms[$field])) { return null; } $terms = array(); for...

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