搜索

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

1.getLastCount的问题反馈

发布时间:2014-03-22 17:03 t By tisswb

...: [quote] $xs->setQuery('贪污')->setLimit(5)->search(); echo $xs->getLastCount(); echo ''; $xs->setQuery('贪污')->setLimit(50)->search(); echo $xs->getLastCount(); echo ''; $xs->setQuery('贪污')->addRange('publishdate', 1395331200, nu...

2.重启xunsearch

更新时间:2012-03-27 10:03 t By bigxu

...>&1 & try_times=5 if [[ $1 == 'help' || $4'x' == 'x' ]] then echo "arg1 try:url,example http://www.xunsearch.com/site/search?q=demo " echo "arg2 res_content,example:RE (content of arg1 must include arg2) " echo "arg3 path of xs_ctl.sh example: /usr/local/services/xunsearch/bi...

3.XSException 异常

...ightman')->setLimit(5)->search(); foreach ($docs as $doc) { echo $doc->rank() . ". " . $doc->subject . " [" . $doc->percent() . "%]\n"; echo $doc->message . "\n"; } } catch (XSException $e) { echo $e; // 直接输出异常描述 if (defined('DEBUG')) ...

4.用YII的插件查找不到记录

发布时间:2013-01-09 16:01 t By gggwzh

... $count = Yii::app()->search->count(); foreach ($docs as $doc) { echo $doc->rank() . '. ' . $doc->subject . " [" . $doc->percent() . "%] - "; echo date("Y-m-d", $doc->chrono) . "\n" . $doc->message . "\n"; } echo "count:".$count; $count 等于5, $docs返回的是一个...

5.RE: 在php cli 下测试自定义字典的更新问题

发布时间:2010-10-13 10:10 t By hightman

...改了。 你建议你在 test.php 里的 scws_new() 之前加一句: echo "dict content: \n"; echo file_get_contents('/data/html/365search/dict.film.txt'); echo "\n-------\n"; 看看你的 dict.film.txt 是不是真的写入了?

6.搜索时出错!!!

更新时间:2012-08-03 11:08 t By renzhig

...emo'); $docs = $xs->search->search('15'); } catch (XSException $e) { echo $e; // 直接输出异常描述 if (defined('DEBUG')) // 如果是 DEBUG 模式,则输出堆栈情况 echo "\n" . $e->getTraceAsString() . "\n"; }

7.XSJsonDataSource::getDataList

...(end of file) if (empty($line)) { if ($this->inCli) { echo "INFO: reach end of the file, total lines: " . $this->line . "\n"; } return false; } // try to decode the line $this->line++; $line = rtrim($line, "\r\n"); if (strlen($line) === 0) { i...

8.XSCsvDataSource::getDataList

...->fd, 0, $this->delim)) === false) { if ($this->inCli) { echo "INFO: reach end of file or error occured, total lines: " . $this->line . "\n"; } return false; } $this->line++; if (count($item) === 1 && is_null($item[0])) { if ($this->inCli) { ...

9.addRange后count不准确

发布时间:2013-12-19 16:12 t By xilin

...'price',600,1000)->search(); $count2 = $search->getLastCount(); echo $xs->search->getDbTotal().''; echo $count.' count2:'.$count2; 输出结果为:2129 1064 count2:532 从数据库中可以看到的结果为137条,输出是1064及532,不清楚原因,奇怪的现象是count值基...

10.使用讯搜搭建phpwind的全文检索

更新时间:2012-05-18 09:05 t By myoula

...d($doc); } echo '200'; } } catch(XSException $e) { echo '500'; } 更新 try { ...

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