mmbb:/usr/src/scws-0.0.1-pre/src# valgrind --tool=memcheck --leak-check=yes ./scwsc -r ../etc/rules.ini -d ../etc/dict.xdb -i "有用过NTFS的朋友抱怨" ==30624== Memcheck, a memory error detector. ==30624== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al. ==30624== Using LibVE...
...取返回结果是这样的, a:2:{s:6:"status";s:2:"ok";s:5:"words";a:1:{i:0;a:5:{s:4:"word";s:12:"在线测试";s:3:"off";i:0;s:3:"len";i:12;s:3:"idf";d:8.19999980926513671875;s:4:"attr";s:1:"n";}}} 我如何用php从中提取出分词结果,谢谢
...的,突然占用资源很大。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...
参照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 = "./"。 是不是...
[quote='hightman' pid='26' dateline='1316505043'] 你最好贴出完整的调用命令,从提示看应该是你指定的 文件打不开。 [/quote] 这是我的做测试的时候用的命令 [root@server67 php]# ps auxw | grep xs root 15274 0.0 0.0 4096 668 pts/0 S+ 16:09 ...
...:$xs = new XS('demo');时出错如下: [XSErrorException] lib/XS.php(2210): stream_set_blocking(): supplied argument is not a valid stream resource(2) #0 /usr/local/xunsearch/sdk/php/lib/XS.php(2210): xs_error_handler(2, 'stream_set_bloc...', '/usr/local/xuns...', 2210, Array) #1 /usr/local/xuns...
...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...
[quote='tisswb' pid='27' dateline='1316506464'] [quote='hightman' pid='26' dateline='1316505043'] 你最好贴出完整的调用命令,从提示看应该是你指定的 文件打不开。 [/quote] 这是我的做测试的时候用的命令 [root@server67 php]# ps auxw | grep xs root 15...
...s a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ root 4232 0.0 0.1 191392 26528 ? S May21 0:13 xs-searchd: master root 24930 0.0 0.1 252856 26480 ? Sl 19:42 0:00 xs-searchd: worker[1] ...
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 ...