搜索

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

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.用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返回的是一个...

4.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 是不是真的写入了?

5.搜索时出错!!!

更新时间: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"; }

6.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值基...

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

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

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

8.设置编码为gbk失效

发布时间:2012-07-12 11:07 t By 小乌龟

...获取搜索结果的匹配总数估算值 $search->setCharset('gbk'); echo ''; var_dump($docs); echo '';

9.自定义词库用不了。非常不解啊。。

发布时间:2011-10-21 16:10 t By ci169

... if($this -> so->add_dict('mydict_utf8.txt', SCWS_XDICT_TXT)) { echo 'ok'; } else { echo 'no'; } $this -> so->set_rule('rules.utf8.ini'); } function word_list($text) { $time_start = $this -> get_microtime(); $this -> so->send_text($text); while ($t...

10.RE: 能否提供个hdwiki的html的过滤器和ini文件呢?

更新时间:2012-11-28 22:11 t By chinapubmed

...后一个函数。 public function process($data, $cs=false) { //echo "\n----- DEBUG DATA INFO -----\n"; //print_r(str_replace('--', '', $data['content'])); $data['content']=str_replace("", '', $data['content']); $data['content']=str_replace("", '', $data['content']); $dat...

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