搜索

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

241.XSDatabase::query1

... 失败或无数据则返回 false 源码: sdk/php/util/XSDataSource.class.php#L455 (显示) public function query1($sql){ $sql = preg_replace('/ limit\s+(\d+)(?:\s*,\s*(\d+)|\s+offset\s+(\d+))?\s*$/i', '', $sql); $sql .= ' LIMIT 1'; $res = $this->query($sql); return (is_array($re...

242.XSSearch::setDocOrder

... 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L317 (显示) public function setDocOrder($asc = false){ $type = XS_CMD_SORT_TYPE_DOCID | ($asc ? XS_CMD_SORT_FLAG_ASCENDING : 0); $cmd = new XSCommand(XS_CMD_SEARCH_SET_SORT, $type); $this->execCommand($c...

243.XSServer::close

...错误引起的, 以免发送 quit 指令 源码: sdk/php/lib/XSServer.class.php#L198 (显示) public function close($ioerr = false){ if ($this->_sock && !($this->_flag & self::BROKEN)) { if (!$ioerr && $this->_sendBuffer !== '') { $this->write($this->_sendBuffer); ...

244.XSUtil::copyDir

...($src, $dst) $src $dst 源码: sdk/php/util/XSUtil.class.php#L194 (显示) public static function copyDir($src, $dst){ if (!($dir = @dir($src)) || (!is_dir($dst) && !@mkdir($dst, 0755, true))) { return false; } while (($entry = $dir->read()) !== false) { ...

245.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']会等...

246.XSSearch::setDb

... 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L475 (显示) public function setDb($name){ $name = strval($name); $this->execCommand(array('cmd' => XS_CMD_SEARCH_SET_DB, 'buf' => strval($name))); $this->_lastDb = $this->_curDb; $this->_lastDbs = $th...

247.XSTokenizerScws::setMulti

...回对象本身以支持串接操作 源码: sdk/php/lib/XSTokenizer.class.php#L270 (显示) public function setMulti($mode = 3){ $mode = intval($mode) & self::MULTI_MASK; $this->_setting['multi'] = new XSCommand(XS_CMD_SEARCH_SCWS_SET, XS_CMD_SCWS_SET_MULTI, $mode); return $this;} ...

248.XS::getIndex

...x() {return} XSIndex 索引操作对象 源码: sdk/php/lib/XS.class.php#L406 (显示) public function getIndex(){ if ($this->_index === null) { $adds = array(); $conn = isset($this->_config['server.index']) ? $this->_config['server.index'] : 8383; if (($pos = st...

249.XSIndex::execCommand

... $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::execCommand($cmd, $res_arg, $res_cmd); foreach (self::$_adds as $srv) { $srv->execCommand($c...

250.XSSearch::getSynonyms

...组, 不存在同义词则返回空数组 源码: sdk/php/lib/XSSearch.class.php#L187 (显示) 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);...

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