搜索

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

301.XSDatabaseSQLite3::query

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

302.XSSearch::setCutOff

...身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L98 (显示) public function setCutOff($percent, $weight = 0){ $percent = max(0, min(100, intval($percent))); $weight = max(0, (intval($weight * 10) & 255)); $cmd = new XSCommand(XS_CMD_SEARCH_SET_CUTOFF, $percent, $weight...

303.兩個詞經常查不到

发布时间:2013-01-06 14:01 t By chrislu0044

...据[/b]则返回 false 源码: sdk/php/util/XSDataSource.class.php#L450 (显示) public function query1($sql){ $sql = preg_replace('/ limit\s+(\d+)(?:\s*...

304.XSUtil::fixWidth

... {return} string 源码: sdk/php/util/XSUtil.class.php#L50 (显示) public static function fixWidth($text, $size, $pad = ' '){ for ($i = $j = 0; $i < strlen($text) && $j < $size; $i++, $j++) { if ((ord($text[$i]) & 0xe0) === 0xe0) { if (($size - $j) == 1) { ...

305.XSSearch::setAutoSynonyms

...身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L129 (显示) public function setAutoSynonyms($value = true){ $flag = XS_CMD_PARSE_FLAG_BOOLEAN | XS_CMD_PARSE_FLAG_PHRASE | XS_CMD_PARSE_FLAG_LOVEHATE; if ($value === true) { $flag |= XS_CMD_PARSE_FLAG_AUTO_MULTIWORD_...

306.total不准确

更新时间:2012-08-21 17:08 t By gaosboy

...合条件的索引共有161条,但offset不是最后一页的情况下,显示的total为 310条 [code]# php Quest.php ~/dev/config/search/question.ini --query="answered:0 AND (status:0 OR status:1)" --limit 120,30|head -n 1 在 1,525 条数据中,大约有 310 条包含 answered:0 AND (sta...

307.XS::getSearch

... XSSearch 搜索操作对象 源码: sdk/php/lib/XS.class.php#L431 (显示) public function getSearch(){ if ($this->_search === null) { $conns = array(); if (!isset($this->_config['server.search'])) { $conns[] = 8384; } else { foreach (explode(';...

308.2009/5 scws-1.0.2更新发布,加入词性语义消岐规则

发布时间:2009-05-15 03:05 t By hightman

...义切词. 列部分如下: 1. 学人家人肉搜索 2. 俄罗斯民调显示梅德韦杰夫人气急升 3. 奥巴马上台后中美关系如何变革 4. 结合成分子时 5. ...

309.报告一个内存泄露bug,1.1.6版本

发布时间:2011-05-07 17:05 t By lauxinz

scws 1.1.6 采用valgrind程序运行了一下,显示存在内存泄露,查看了一下源代码,的确有一个地方没有free。在 scws.c/scws_has_word()函数中: __PARSE_XATTR__; // 这个宏里有一个内存申请:at = (word_attr *) malloc(cnt); 申请的内存没有释放。应...

310.XSSearch::setCollapse

...身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L332 (显示) public function setCollapse($field, $num = 1){ $vno = $field === null ? XSFieldScheme::MIXED_VNO : $this->xs->getField($field, true)->vno; $max = min(255, intval($num)); $cmd = new XSCommand(XS_CMD_SEARCH_SET...

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