...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...
...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);...
... addRange() 添加搜索过滤区间或范围 XSSearch addSearchLog() 添加搜索日志关键词到缓冲区里 XSSearch addWeight() 添加权重索引词 XSSearch close() 关闭连接 XSServer count() 估算搜索语句的匹配数据量 XSSearch execComm...
...ex() 强制刷新服务端的当前库的索引缓存 XSIndex flushLogging() 强制刷新服务端当前项目的搜索日志 XSIndex getConnString() Returns 连接字符串 XSServer getCustomDict() 获取自定义词典内容 XSIndex getProject() 获取当前项目...