搜索

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

1.XSIndex::flushLogging

flushLogging() 方法 public bool flushLogging() {return} bool 刷新成功返回 true, 失败则返回 false 源码: sdk/php/lib/XSIndex.class.php#L449 (显示) public function flushLogging(){ try { $this->execCommand(XS_CMD_FLUSH_LOGGING, XS_CMD_OK_LOG_FLUSHED); } ...

2.XSSearch::addSearchLog

addSearchLog() 方法 (自版本 v1.1.1 起可用) public void addSearchLog(string $query, int $wdf=1) $query string 需要记录的数据 $wdf int 需要记录的次数, 默认为 1 源码: sdk/php/lib/XSSearch.class.php#L831 (显示) public function addSearchLog($query,...

3.XSSearch::getHotQuery

...t = array(); $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'; } $resu...

4.XSSearch::getRelatedQuery

...strpos($query, ':') !== false) { return $ret; } // Search the log database $op = $this->_defaultOp; $this->xs->setScheme(XSFieldScheme::logger()); try { $result = $this->setDb(self::LOG_DB)->setFuzzy()->setLimit($limit + 1)->search($query); foreach ($result as $do...

5.XSSearch::search

...arch($query = null, $saveHighlight = true){ if ($this->_curDb !== self::LOG_DB && $saveHighlight) { $this->_highlight = $query; } $query = $query === null ? '' : $this->preQueryString($query); $page = pack('II', $this->_offset, $this->_limit > 0 ? $this->_limit : self::PAGE_SIZE);...

6.XSSearch

... addRange() 添加搜索过滤区间或范围 XSSearch addSearchLog() 添加搜索日志关键词到缓冲区里 XSSearch addWeight() 添加权重索引词 XSSearch close() 关闭连接 XSServer count() 估算搜索语句的匹配数据量 XSSearch execComm...

7.XSIndex

...ex() 强制刷新服务端的当前库的索引缓存 XSIndex flushLogging() 强制刷新服务端当前项目的搜索日志 XSIndex getConnString() Returns 连接字符串 XSServer getCustomDict() 获取自定义词典内容 XSIndex getProject() 获取当前项目...

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