搜索

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

211.XSDocument::__set

...alue 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, $value);} 魔术方法 __set ...

212.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(); foreach ($this->_terms[$field] as $t...

213.XSFieldScheme::checkValid

...效则返回 false 源码: sdk/php/lib/XSFieldScheme.class.php#L175 (显示) public function checkValid($throw = false){ if (!isset($this->_typeMap[XSFieldMeta::TYPE_ID])) { if ($throw) { throw new XSException('Missing field of type ID'); } return false; } ...

214.文档评论模块过滤了两次?

发布时间:2012-04-10 00:04 t By Dull

贴的代码显示为双重htmlspecial_encode后的结果 如 http://www.xunsearch.com/doc/php/guide/index.overview#c10

215.XSServer::open

...rt|本地套接字路径> 源码: sdk/php/lib/XSServer.class.php#L165 (显示) public function open($conn){ $this->close(); $this->_conn = $conn; $this->_flag = self::BROKEN; $this->_sendBuffer = ''; $this->_project = null; $this->connect(); $this->_flag ^= self::BROKEN; ...

216.填充测试数据的时候出现错误

更新时间:2011-09-19 17:09 t By tisswb

...须的加 -c gbk 由于我使用的putty设置的是utf8的原因, 虽然显示有点不正常,但加上 -c gbk 就可以了

217.XSSearch::addWeight

...身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L386 (显示) public function addWeight($field, $term, $weight = 1){ return $this->addQueryTerm($field, $term, XS_CMD_QUERY_OP_AND_MAYBE, $weight);} 添加权重索引词 无论是否包含这种词都不影响搜索匹配, ...

218.XSUtil::toProjectIni

...的 ini 配置文件路径 源码: sdk/php/util/XSUtil.class.php#L29 (显示) public static function toProjectIni($project){ if (!is_file($project)) { $appRoot = getenv('XS_APP_ROOT'); if ($appRoot === false) { $appRoot = defined('XS_APP_ROOT') ? XS_APP_ROOT : dirnam...

219.XSCsvDataSource::getDataList

...d void getDataList() 源码: sdk/php/util/XSDataSource.class.php#L392 (显示) protected function getDataList(){ if (($item = fgetcsv($this->fd, 0, $this->delim)) === false) { if ($this->inCli) { echo "INFO: reach end of file or error occured, total lines: " . $this->line ....

220.XSDatabasePgSQL::query

... {return} mixed 源码: sdk/php/util/XSDataSource.class.php#L582 (显示) public function query($query){ //echo "[DEBUG] SQL: $sql\n"; $res = pg_query($this->link, $query); if ($res === false) { throw new XSException('PgSQL ERROR: ' . pg_last_error($this->link)); } $r...

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