搜索

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

1.XSJsonDataSource

...st(); } $item = json_decode($line, true); if (!is_array($item) || count($item) === 0) { switch (json_last_error()) { case JSON_ERROR_DEPTH: $error = ' - Maximum stack depth exceeded'; break; case JSON_ERROR_CTRL_CHAR: ...

2.XSDatabaseDataSource

...>limit == 0) { $sql = preg_replace('/SELECT\s+.+?FROM\s/i', 'SELECT COUNT(*) AS count FROM ', $sql); $res = $this->db->query1($sql); $this->limit = $res['count'] - $this->offset; }}

3.scws-0.0.1-pre有内存泄露(问题确认,已解决)

发布时间:2007-11-27 00:11 t By mfd

...= malloc/free: 36 allocs, 33 frees, 14,613 bytes allocated. ==30624== For counts of detected errors, rerun with: -v ==30624== searching for pointers to 3 not-freed blocks. ==30624== checked 67,208 bytes. ==30624== ==30624== 6 bytes in 3 blocks are definitely lost in loss record 1 of 1 ==30624...

4.XSCsvDataSource

...->line . "\n"; } return false; } $this->line++; if (count($item) === 1 && is_null($item[0])) { if ($this->inCli) { echo "WARNING: invalid csv line #" . $this->line . "\n"; } $this->invalidLines++; return $this->getDataList(); } retu...

5.XSIndex::update

...is->appendBuffer(implode('', $cmds)); } else { for ($i = 0; $i < count($cmds) - 1; $i++) { $this->execCommand($cmds[$i]); } $this->execCommand($cmds[$i], XS_CMD_OK_RQST_FINISHED); } // after submit $doc->afterSubmit($this); return $this;} 更新索...

6.构建搜索语句

...3 字节),此规则同时适用于 > [XSSearch::search] 和 [XSSearch::count] 的 `$query` 参数。 搜索语句举例如下: ~~~ [php] $search->search('上海人民公园'); // 检索 body 型字段及混合区 $search->search('上海 人民公园'); // 用空格连接 2 个关键词, 这...

7.XSFieldScheme

...$field->vno = ($field->type == XSFieldMeta::TYPE_BODY) ? self::MIXED_VNO : count($this->_vnoMap); $this->_vnoMap[$field->vno] = $field->name; // save field, ensure ID is the first field if ($field->type == XSFieldMeta::TYPE_ID) { $this->_fields = array_merge(array($field->name => $fi...

8.XSSearch

...arch hotQuery array 获取热门搜索词列表 XSSearch lastCount int 获取最近那次搜索的匹配总数估值 XSSearch project string 获取当前项目名称 XSServer query string 获取解析后的搜索语句 XSSearch relatedQuery array 获...

9.Xunsearch SDK for PHP

...数据 - **one()**: 返回一行数据 - **all()**: 返回全部数据 - **count()**: 统计数据匹配数据,是估算的并不是完全准确 - **exists()**: 判断查询条件是否存在数据 - **where()**: 指定搜索条件 - **orderBy()**: 指定排序方式,默认为相关性排序 - *...

10.XS

... $conns[] = $conn; } } } if (count($conns) > 1) { shuffle($conns); } for ($i = 0; $i < count($conns); $i++) { try { $this->_search = new XSSearch($conns[$i], $this); $this->_search->setCha...

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