搜索

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

291.建立索引不完整问题

发布时间:2012-03-14 16:03 t By 张十三

[php] $xs = new Search('demo'); $index = $xs->index; $index->beginRebuild(); while (true) { //无视读取数据部分,一次读取100条数据 $index->openBuffer(); foreach ($wikis as $wiki) { $array = array( 'pid' => ...

292.mysql导入生成索引问题

发布时间:2013-03-04 23:03 t By llkk0914

...?? 行以后,返回什么结果是正确的结果呢 /usr/local/xunsearch/sdk/php/util/Quest.php -p demo -c gbk -q 桌面 --limit=2 返回 Object id #10 0 ../lib/XS.php(2246): XSServer->read(8) 1 ../lib/XS.php(2231): XSServer->getRespond() 2 ../lib/XS.php(2208): XSServer->execCommand(Arr...

293.mysql导入生成索引问题

发布时间:2013-03-04 23:03 t By llkk0914

...?? 行以后,返回什么结果是正确的结果呢 /usr/local/xunsearch/sdk/php/util/Quest.php -p demo -c gbk -q 桌面 --limit=2 返回 Object id #10 0 ../lib/XS.php(2246): XSServer->read(8) 1 ../lib/XS.php(2231): XSServer->getRespond() 2 ../lib/XS.php(2208): XSServer->execCommand(Arr...

294.Missing value of primarky key

发布时间:2012-12-21 16:12 t By 973432436

大家好,我的xunsearch更新索引有点问题: 执行更新后提示错误:[21-Dec-2012 16:13:14] 致命的运行时错误(E_ERROR) Uncaught [XSException] ../xunsearch/sdk/php/lib/XS.php(1018): Missing value of primarky key (FIELD:_ID) thrown /var/www/xunsearch/sdk/php/lib/XS.php 1018 ...

295.RE: [特别发布] 纯PHP编写的xdb词典导入导出工具!!

更新时间:2009-07-23 18:07 t By etbobhwang

...0912 bytes exhausted (tried to allocate 1046898225 bytes) in /var/www/html/search/dict/xdb.class.php on line 638 我也碰到同樣的問題,換一台主機依舊有問題 謝謝 ,問題是 638 行 : $rec['value'] = fread($this->fd, $rec['vlen']); 不可能超過 1gb 我有看到 gen_dict.c...

296.索引速度

更新时间:2014-03-27 10:03 t By iostream210

...ct.name = s1 project.default_charset = utf-8 server.index = 8383 server.search = 8384 [xsid] type = id [pid] tokenizer = full type = numeric index = self [tid] type = string index = self tokenizer = full [fid] type = string index = self tokenizer = full [title] index = bot...

297.我搜索真的很慢,求大神帮看看是什么问题

发布时间:2013-08-12 09:08 t By zhuaijay

...me = test_qw project.default_charset = utf-8 server.index = 8383 server.search = 8384 [docno] type = id ;文档号 [title] type = title; 文章标题 [date] type = numeric ; 日期 index = self [text] type = body ;内容 下面 Linux CentOS.64 Intel(R) Xeon(R) CPU E3...

298.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::logger())...

299.XSTokenizerScws::getTops

...y(); $text = $this->applySetting($text); $cmd = new XSCommand(XS_CMD_SEARCH_SCWS_GET, XS_CMD_SCWS_GET_TOPS, $limit, $text, $xattr); $res = self::$_server->execCommand($cmd, XS_CMD_OK_SCWS_TOPS); while ($res->buf !== '') { $tmp = unpack('Itimes/a4attr/a*word', $res->buf); $t...

300.RE: 搜索蜘蛛来抓取,导致搜索日志不正常,热门搜索一直是不相关的内容

更新时间:2012-05-11 01:05 t By Mr.

经过一番测试。。。 修改xs.php的search() 在1556行的$this->logQuery(); 改成: [php]if(strpos($_SERVER['REQUEST_URI'],'你的域名')) $this->logQuery();[/php] 即可过滤所有搜索引擎访问查询时自动写入搜索日志记录!~! 我不清楚REQUEST的结果是不...

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