搜索

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

191.XSDatabasePDO_MySQL::makeDsn

...'mysql:host=' . (isset($param['host']) ? $param['host'] : 'localhost'); if (isset($param['port']) && $param['port'] !== 3306) { $dsn .= ';port=' . $param['port']; } $dsn .= ';dbname=' . $param['dbname']; return $dsn;} 生成 MySQL DSN

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

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

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

193.RE: Windows7 分词准确率极低

更新时间:2010-12-31 02:12 t By pittece

debug了一下,发现是在class XDB_R::_check_header()里面执行 if ($fstat['size'] != $hdr['fsize']) return false就返回了。请问这说明什么问题呢?[hr] 事实上,$hdr['fsize'] = 13245833, 而$fstat['size']就是dict.xdb文件的大小4497408 ,那为什么$hdr['fsize']会等...

194.XSComponent::__get

...182 (显示) public function __get($name){ $getter = 'get' . $name; if (method_exists($this, $getter)) { return $this->$getter(); } // throw exception $msg = method_exists($this, 'set' . $name) ? 'Write-only' : 'Undefined'; $msg .= ' property: ' . get_class($this) . '::$' ....

195.XSSearch::getSynonyms

...(显示) public function getSynonyms($term){ $term = strval($term); if (strlen($term) === 0) { 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 === ''...

196.XSDataSource::instance

...: $type; $class = 'XS' . ucfirst(strtolower($type2)) . 'DataSource'; if (!class_exists($class)) { throw new XSException("Undefined data source type: `$type2'"); } return new $class($type, $arg);} 取得数据源对象实例

197.XSComponent

...182 (显示) public function __get($name){ $getter = 'get' . $name; if (method_exists($this, $getter)) { return $this->$getter(); } // throw exception $msg = method_exists($this, 'set' . $name) ? 'Write-only' : 'Undefined'; $msg .= ' property: ' . get_class($this) . '::$' ....

198.XSComponent::__set

...示) public function __set($name, $value){ $setter = 'set' . $name; if (method_exists($this, $setter)) { return $this->$setter($value); } // throw exception $msg = method_exists($this, 'get' . $name) ? 'Read-only' : 'Undefined'; $msg .= ' property: ' . get_class($this) . ':...

199.XSFieldScheme::logger

...XSFieldScheme.class.php#L198 (显示) public static function logger(){ if (self::$_logger === null) { $scheme = new self; $scheme->addField('id', array('type' => 'id')); $scheme->addField('pinyin'); $scheme->addField('partial'); $scheme->addField('total', array...

200.XSIndex::openBuffer

...XSIndex.class.php#L362 (显示) public function openBuffer($size = 4){ if ($this->_buf !== '') { $this->addExdata($this->_buf, false); } $this->_bufSize = intval($size) << 20; $this->_buf = ''; return $this;} 开启索引命令提交缓冲区 为优化网络性能, 有必...

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