搜索

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

401.XSDatabaseMySQL::connect

...ay 连接参数, 包含: user,pass,host,table,dbname ... 源码: sdk/php/util/XSDataSource.class.php#L479 (显示) public function connect($param){ $host = isset($param['host']) ? $param['host'] : ini_get('mysql.default_host'); $host .= (isset($param['port']) && $param['port'] != 3306) ...

402.两种或以上的分词如何建索引,谢谢

更新时间:2014-05-04 17:05 t By binny_w

... 我试过SDK中自带的SCWS类(参考:http://www.xunsearch.com/doc/php/guide/special.scws)但一直有timeout的报错,setTimeout(0)也没作用。

403.RE: 分面功能的search()

发布时间:2012-01-11 10:01 t By hightman

...时被重置了,运行到上面的代码时,大家都没有出错?(php5.2.9) [/quote] en,这是BUG,多谢汇报,修改成 $this->_count = $this->_lastCount; 就可以了,所幸影响不大,只有你在后面调用 $search->count()才出错

404.RE: 关于使用过程的权限控制问题

更新时间:2014-09-30 00:09 t By qiuxis

[quote='kaikai' pid='8405' dateline='1409467664'] 在使用/demo/search.php 搜索的时候,出现的。权限需要怎么解决? 错误:[XSException] ../../../../usr/local/xunsearch/sdk/php/lib/XS.php(2481): Permission denied(C#13, localhost:8384) [/quote] 原因是防火墙的问题。...

405.XSServer::write

...en 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; } ...

406.XSSearch::terms

... {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) { $ret ...

407.XSDatabaseMySQLI::connect

...ay 连接参数, 包含: user,pass,host,table,dbname ... 源码: sdk/php/util/XSDataSource.class.php#L621 (显示) public function connect($param){ $host = isset($param['host']) ? $param['host'] : ini_get('mysqli.default_host'); $user = isset($param['user']) ? $param['user'] : ini_get('...

408.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(XSFieldScheme::...

409.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, $quer...

410.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_SCWS_GE...

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