搜索

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

1.total不准确

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

...offset不是最后一页的情况下,显示的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 ...

2.输入词汇过滤

更新时间:2012-11-03 16:11 t By Dull

参考这个: http://bbs.xunsearch.com/showthread.php?tid=397 另外发现a.bb bb.a a.b.c这样的形式查询超慢无比 按照hightman的说法: [i]hightman(海? 15:28:33 . 是相当于加引号,连接符 hightman(海? 15:28:57 "a.b.c.d" 这样就要求 A后面紧跟B再紧跟...

3.[patch] php-scws 扩展在 5.4.x 下的编译兼容补丁

发布时间:2012-03-05 11:03 t By hightman

近期 php5.4.x 已经正式发布,已有网友在使用并汇报说 scws 的 PHP 扩展无法编译通过。 刚看了一下,因为 5.4.x 起 php 移除了 safe_mode 导致一些代码错误不通过编译,简单修改补丁如下,请大家先手动修改一下,稍后 scws-1.1.10 发...

4.xunsearch的几个小小优化

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

...会直接返回所有搜索结果,http://www.xunsearch.com/demo/search.php?q=%21@@&f=_all&s=relevance 可以测试这个看,可以考虑强行判断,不包含就让搜索词为空,进行相应处理 如 if(!preg_match('/([0-9a-z]{2,2})/i')) Header('Location: /'); 3、继续搜索词过...

5.small50,big161这种词汇搜索不到

更新时间:2013-06-18 10:06 t By hpxl

[php]bash-3.2$ php sdk/php/util/Quest.php spj example_attr:small50 --show-query -------------------- 解析后的 QUERY 语句:Xapian::Query((ZHsmall:(pos=1) AND 50:(pos=2)))[/php] 搜不到任何结果?

6.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 了 但是搜索不到什么 改成...

7.安装php扩展 error: Incorrect scws library

发布时间:2013-02-21 11:02 t By Loading

[code]loading@opensuse:~/Downloads/scws/scws-1.2.1/phpext> ./configure --with-scws=/usr/local/scws --with-php-config=/usr/bin/php-config configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... ...

8.scws1.1.2 安装错误

更新时间:2010-05-12 17:05 t By gaoomei

...装步骤,却发现出错了: 看代码: [code] [root@localhost phpext]# ./configure --with-scws=/usr/local/scws/ --with-php-config=/usr/local/php5/bin/php-config checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does...

9.hi hightman, scws_ext cant be run on x64!!!??

发布时间:2010-12-19 19:12 t By postwhere

hi, i got a big problem, my env is php5.3.3/apache/2.2.17 all x64bit, now, all my service is ok but the php_scws.dll, run php got error: ------------------------------------------ PHP Warning: PHP Startup: Unable to load dynamic library 'D:\home\php\ext\php_s cws.dll' - %1 is not a valid Win32 ...

10.RE: hi hightman, scws_ext cant be run on x64!!!??

更新时间:2010-12-20 20:12 t By postwhere

... lib, it can be run on 32bit xp, but when used it on 64bit it still alert: php_scws.dll %1 is not a valid Win32 application.~~~ hightman, i want to compile the lib with 64bit, does it run?[hr] by the way, the code is ansi based standard, and when i compile it on OSI standard with vs9, it's appear...

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