搜索

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

251.RE: search时报错 ,请帮看看是哪的问题

发布时间:2012-12-25 10:12 t By benq81

报错:[XSException] ThinkPHP/Extend/Vendor/sdk/php/lib/XS.php(2087): Task is canceled due to timeout/error(S#514) 日志: 2012-12-25 10:19:08 worker1[11340] [sock:7] task canceld, run the cleanup (ZARG:0x7f6c775fdbf0) 2012-12-25 10:19:08 worker1[11340] [sock:7] quit, result error (CODE:514) ...

252.XSServer::write

... $len string 要写入的长度, 默认为字符串长度 源码: sdk/php/lib/XSServer.class.php#L368 (显示) protected function write($buf, $len = 0){ // quick return for empty buf $buf = strval($buf); if ($len == 0 && ($len = $size = strlen($buf)) == 0) { return true; ...

253.XSSearch::terms

...ue {return} array 可用于高亮显示的词条列表 源码: sdk/php/lib/XSSearch.class.php#L515 (显示) public function terms($query = null, $convert = true){ $query = $query === null ? '' : $this->preQueryString($query); if ($query === '' && $this->_terms !== null) { $...

254.XSSearch::getHotQuery

... 返回以搜索词为键, 搜索指数为值的关联数组 源码: sdk/php/lib/XSSearch.class.php#L673 (显示) public function getHotQuery($limit = 6, $type = 'total'){ $ret = array(); $limit = max(1, min(50, intval($limit))); // query from log_db $this->xs->setScheme(XSFieldSc...

255.Xunsearch SDK for PHP

Xunsearch SDK for PHP $Id$ 这是采用 PHP 语言编写的 xunsearch 开发包,在此基础上开发您自己的全文检索。 在此简要介绍以下几个文件: - lib/XS.php 入口文件,所有搜索功能必须包含此文件 - lib/XS.class.p...

256.XSSearch::getQuery

...语句 {return} string 返回解析后的搜索语句 源码: sdk/php/lib/XSSearch.class.php#L204 (显示) public function getQuery($query = null){ $query = $query === null ? '' : $this->preQueryString($query); $cmd = new XSCommand(XS_CMD_QUERY_GET_STRING, 0, $this->_defaultOp, $q...

257.XSTokenizerScws::getTops

...组, 每个词汇是包含 [times:次数,attr:词性,word:词] 源码: sdk/php/lib/XSTokenizer.class.php#L361 (显示) public function getTops($text, $limit = 10, $xattr = ''){ $words = array(); $text = $this->applySetting($text); $cmd = new XSCommand(XS_CMD_SEARCH_SCWS_GET, XS_CMD_SCW...

258.XSSearch::getAllSynonyms

...数组, 每个词条为键, 同义词条组成的数组为值 源码: sdk/php/lib/XSSearch.class.php#L164 (显示) public function getAllSynonyms($limit = 0, $offset = 0, $stemmed = false){ $page = $limit > 0 ? pack('II', intval($offset), intval($limit)) : ''; $cmd = array('cmd' => XS_CMD...

259.XSSearch::getCorrectedQuery

...中文 {return} array 返回搜索词组成的数组 源码: sdk/php/lib/XSSearch.class.php#L795 (显示) public function getCorrectedQuery($query = null){ $ret = array(); try { if ($query === null) { if ($this->_count > 0 && $this->_count > ceil($this->getDbTota...

260.XSSearch::addQueryTerm

... {return} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L968 (显示) public function addQueryTerm($field, $term, $addOp = XS_CMD_QUERY_OP_AND, $scale = 1){ $term = strtolower($term); $term = XS::convert($term, 'UTF-8', $this->_charset); $b...

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