搜索

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

1.total不准确

更新时间:2012-08-21 17:08 t By gaosboy

...情况下,显示的total为 310条 [code]# php Quest.php ~/dev/config/search/question.ini --query="answered:0 AND (status:0 OR status:1)" --limit 120,30|head -n 11,525 条数据中,大约有 310 条包含 answered:0 AND (status:0 OR status:1) ,第 121-150 条,用时:0.0234 秒。 ...

2.为什么布尔搜索不适合 自定义分词?

发布时间:2014-07-23 15:07 t By xunsearch飞吧

...段 b_split_title [b_split_title] type = title tokenizer =coupon $search->setQuery( '(b_split_title:宠物 OR 宠物 ) AND b_city_id:31')->setlimit(1000000)->setFacets('b_tag_id')->search(); 打印: Xapian::Query(((or:(pos=1) AND 宠物:(pos=2) AND and:(pos=3) AND (b_city_id:(pos=4) PHR...

3.scws-0.0.1-pre有内存泄露(问题确认,已解决)

发布时间:2007-11-27 00:11 t By mfd

...cated. ==30624== For counts of detected errors, rerun with: -v ==30624== searching for pointers to 3 not-freed blocks. ==30624== checked 67,208 bytes. ==30624== ==30624== 6 bytes in 3 blocks are definitely lost in loss record 1 of 1 ==30624== at 0x401D38B: malloc (vg_replace_malloc.c:149) ...

4.RE: 如何按分类搜索啊

更新时间:2012-02-21 16:02 t By flyfeng2

oh 谢谢!我试试[hr] require_once '/mnt/search/sdk/php/lib/XS.php'; $xs = new XS('test'); $skey = $_GET["skey"]; $search = $xs->search; $docs = $search->setQuery($skey."type:1")->search(); print_r($docs); 已经 [type] type = string index = self 了 但是搜索不到什么 改成...

5.xunsearch的几个小小优化

发布时间:2012-09-12 22:09 t By Dull

1、安装时候编辑xunsearch-ver/src index.h 可以适当调低提交数量,比如3000减少为1000 search.h 进程数量可以改高点,初始内存默认即可 search.cc 最大内存128可以改到640M 2、搜索词过滤 如果搜索词不包含任何字母数字汉字,仅仅...

6.重启xunsearch

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

...://www.bigxu.com bigxu@foxmail.com # example : ./check.sh http://www.xunsearch.com/site/search?q=demo RE /data/www/xunsearch/bin/xs-ctl.sh /hom/bigxu/xu_restart.log > /dev/null 2>&1 & try_times=5 if [[ $1 == 'help' || $4'x' == 'x' ]] then echo "arg1 try:url,example http://www.xunse...

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

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

1 安装xunsearch wget http://www.xunsearch.com/download/xunsearch-full-latest.tar.bz2 tar xjvf xunsearch-full-latest.tar.bz2 #目前是1.3.1 cd xunsearch-full-1.3.1/ sh setup.sh #默认装在/usr/local/xunsearch 2 启动xunsearch /usr/local/xunsearch/bin/xs-ctl.sh -b 对外ip(我是内网,用的...

8.addWeight提权的问题 提不上去

更新时间:2013-08-22 13:08 t By beike228

//执行语句 $gSearch->setFuzzy()->setQuery($name)->addWeight('ranking','1')->setLimit($gNum,$startPage)->search(); //执行结果 Xapian::Query((疯:(pos=1) AND_MAYBE GD1))[hr] //输出结果 [0] => XSDocument Object ( [_data:XSDocument:private] => Array ...

9.mysql导入数据配置文件里的字段要和数据库里的一样吗?

发布时间:2011-10-28 10:10 t By mengfanchao

...数据失败 - Missing value of primarky key (FIELD:pid) #0 /usr/local/xunsearch/sdk/php/util/Indexer.php(195): XSIndex->update(Object(XSDocument)) sql语句: sql="select c.contentid,c.status,b.contentid from phpcms_content c,phpcms_c_news b where c.contentid=b.contentid and c.status=99" ...

10.1.4.6不定期死掉

更新时间:2013-09-09 09:09 t By sohigh

昨天的日志如下 [quote] 2013-09-08 01:00:32 searchd[21752] ALERT server start (BIND:127.0.0.1:8384) 2013-09-08 01:00:32 searchd[21752] ALERT spawned child worker[1] (PID:21758) 2013-09-08 01:00:32 searchd[21752] ALERT spawned child worker[2] (PID:21759) 2013-09-08 01:00:32 searchd[21752] ...

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