参照http://www.ftphp.com/scws/docs.php#instscws安装1.1.2版本。1-9步都安装无误。但第10步安装 php extension 遇到些问题求解答: 问题1: scws.so是在 /usr/local/lib/php/extensions/no-debug-non-zts-20060613/scws.so 我的php.ini中 extension_dir = "./"。 是不是...
...cid] index = self tokenizer = split(,) non_bool = yes [/php] 按cid:1或者cid:你好,平安,是可以搜到数据的,cid:hello,英文的搜不到任何数据,下面是部分数据。[php] bash-3.2$ php sdk/php/util/Quest.php example cid:你好 在 3 条数据中,大约有 3 条...
.../执行语句 $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 ...
站長您好, 恭維的話我就不多說了 向您回報一個 SCWS-1.0.3 + PHP 5.3.0 的小問題 (CentOS 5.3 x64 + Apache 2.2.11 + PHP 5.3.0 + MySQL 5.1.36) 我依據安裝說明文件, 安裝設定後, phpinfo() 可以成功地看到 scws 的相關訊息, 產生的 scws.so 檔案大小...
... => Array ( [word] => 鎴 [off] => 0 [len] => 2 [idf] => 0 [attr] => un ) [1] => Array ( [word] => 戞 [off] => 2 [len] => 2 [idf] => 0 [attr] => un ) [2] => Array ( [word] => 槸 [off] => 4 [len] => 2 [idf] => 0 [attr] => un ) [3] => Array ( [word] => 涓 [off] => 6 [len] => 2 [idf] => 0 [attr] => ...
... => Array ( [word] => 鎴 [off] => 0 [len] => 2 [idf] => 0 [attr] => un ) [1] => Array ( [word] => 戞 [off] => 2 [len] => 2 [idf] => 0 [attr] => un ) [2] => Array ( [word] => 槸 [off] => 4 [len] => 2 [idf] => 0 [attr] => un ) [3] => Array ( [word] => 涓 [off] => 6 [len] => 2 [idf] => 0 [attr] => ...
... "multi"=>3 这个参数可以设置到吗? [code] object(stdClass)#1 (2) { ["status"]=> string(2) "ok" ["words"]=> array(7) { [0]=> object(stdClass)#2 (5) { ["word"]=> string(6) "中文" ["off"]=> int(0) ["len"]=> int(6) ...
...ext/scws.so: mach-o, but wrong architecture in Unknown on line 0 [Tue May 01 12:03:42 2012] [notice] Apache/2.2.22 (Unix) mod_wsgi/3.3 Python/2.7.2 mod_ssl/2.2.22 OpenSSL/0.9.8r PHP/5.3.10 configured -- resuming normal operations [Tue May 01 12:03:57 2012] [error] [client ::1] PHP Fatal error: Call...
...的,突然占用资源很大。xunsearch 版本:xs-searchd: xunsearch/1.4.7-dev (search server) [php] PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 28942 root 18 3 152m 28m 1852 S 174.6 0.2 61:51.25 xs-searchd 28940 root 18 3 152m 28m 1888 S 128.4 0...
经过一个月的全力开发和测试,今天很高兴先发布 1.3.0 正式版,加入了同义词功能并修正了许多小 BUG,强烈建议所有用户升级到这个最新稳定版本。 1.3.0 堪称一个里程碑级的更新,实现了预期的绝大部分功能,将 xunsearch 带...