搜索

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

61.XSIndex::endRebuild

...lib/XSIndex.class.php#L404 (显示) public function endRebuild(){ if ($this->_rebuild === true) { $this->_rebuild = false; $this->execCommand(array('cmd' => XS_CMD_INDEX_REBUILD, 'arg1' => 1), XS_CMD_OK_DB_REBUILD); } return $this;} 完成并关闭重建索引 重建完...

62.XSFieldScheme::getFieldTitle

...eme.class.php#L59 (显示) public function getFieldTitle(){ if (isset($this->_typeMap[XSFieldMeta::TYPE_TITLE])) { $name = $this->_typeMap[XSFieldMeta::TYPE_TITLE]; return $this->_fields[$name]; } foreach ($this->_fields as $name => $field) { if ($field->type === XSFie...

63.XSTokenizerXlen

...n __construct($arg = null){ if ($arg !== null && $arg !== '') { $this->arg = intval($arg); if ($this->arg < 1 || $this->arg > 255) { throw new XSException('Invalid argument for ' . __CLASS__ . ': ' . $arg); } }} getTokens() 方法 public void getT...

64.XSTokenizerXstep

...n __construct($arg = null){ if ($arg !== null && $arg !== '') { $this->arg = intval($arg); if ($this->arg < 1 || $this->arg > 255) { throw new XSException('Invalid argument for ' . __CLASS__ . ': ' . $arg); } }} getTokens() 方法 public void getT...

65.XSDocument::setField

... false){ if ($value === null) { if ($isMeta) { unset($this->_meta[$name]); } else { unset($this->_data[$name]); } } else { if ($isMeta) { $this->_meta[$name] = $value; } else { $this->_data[$name] = $value; }...

66.XSDocument::getAddTerms

... public function getAddTerms($field){ $field = strval($field); if ($this->_terms === null || !isset($this->_terms[$field])) { return null; } $terms = array(); foreach ($this->_terms[$field] as $term => $weight) { $term = $this->autoConvert($term); $terms[$term] =...

67.XSDatabaseMySQLI::connect

...set($param['port']) ? $param['port'] : ini_get('mysqli.default_port'); $this->obj = new mysqli($host, $user, $pass, '', $port); if ($this->obj->connect_error) { throw new XSException("Can not connect to mysql server: '$user@$host'"); } if (!$this->obj->select_db($param['dbname']))...

68.XSSearch::getHotQuery

...; $limit = max(1, min(50, intval($limit))); // query from log_db $this->xs->setScheme(XSFieldScheme::logger()); try { $this->setDb(self::LOG_DB)->setLimit($limit); if ($type !== 'lastnum' && $type !== 'currnum') { $type = 'total'; } $result = $this-...

69.RE: 分面功能的search()

发布时间:2012-01-11 10:01 t By hightman

...search函数,在返回代码附近有: if ($query === '') { $this->_count = $tmp['count']; $this->logQuery(); } 的代码,在开启了分面功能时,$tmp对象在获取分面数据时被重置了,运行到上面的代码时,大家都没有出错?(php5.2.9) [/quo...

70.XSDatabaseSQLite

...til/XSDataSource.class.php#L709 (显示) public function close(){ if ($this->link) { sqlite_close($this->link); $this->link = null; }} 关闭数据库 connect() 方法 public void connect(array $param) $param array 连接参数, 包含: path 源码: sdk...

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