[quote='hightman' pid='121' dateline='1319514186'] Indexer.php 你可以在 sql 语句中指定 offset 和 limit --sql="select * from cdb_posts limit 999999999999 offset 5000000" 类似这样,OFFSET 不能单用必须配合 limit [/quote] 呵呵 原来如此 非常感谢,数据已经导...
请教个问题,安装的时候报错 [img]http://b255.photo.store.qq.com/psb?/V14e8G6529zQ61/wRqMn1DC*nUyy*VssKmSrmjh9Mpst9WHkUwi*c6zmeg!/b/dMIcB5iTGAAA&bo=0AKQAQAAAAABAGQ!&rf=photoDetail[/img] 这是什么原因呢?
[code] project.name = 59n [bid] type = id [title] index = mixed weight = 5 [bc] index = mixed [cc] index = mixed [addtime] type = date tokenizer = none [/code] [php] ./Indexer.php --source=mysql://root:root@localhost/blog --sql="select b.bid,b.content AS bc,b.addtime,b.titl...
/usr/local/xunsearch/sdk/php/util/Indexer.php --rebulid --source=mysql://u:p@127.0.0.1/test --sql="SELECT movie_id,movie_name,movie_starring,movie_director,movie_description,movie_list_img_url,movie_insert_time FROM movie" --project=movie [XSException] ../../usr/local/xunsearch/sdk/php/lib/XS...
checking if debug is enabled... no checking if zts is enabled... no checking for re2c... re2c checking for re2c version... 0.13.5 (ok) checking for gawk... gawk checking for scws support... yes, shared checking for scws.h... no configure: error: Please download and install scws from http://ww...
安装环境 php-5.2.13 centos 5.3 x86_64 libscws 安装成功运行test出正确结果 在运行phpize的时候,出现提示 Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 Can't locate object method "path" via...
Warning: require_once(../../xunsearch-sdk/sdk/php/lib/XS.php): failed to open stream: No such file or directory in D:\xun_pro\util\indexer.php on line 7 Fatal error: require_once(): Failed opening required '../../xunsearch-sdk/sdk/php/lib/XS.php' (include_path='.;D:\xunsearch-sdk\php\lib') in D:\...
...libscws' make: *** [install-recursive] Error 1 1.1.7和1.1.8一样的出错,请问这个是cygwin本身的原因么?
[quote='hpxl' pid='116' dateline='1319506745'] 500万条数据可以分段来读取,比如每次10000条,就不会出现上面的php错误了。判断是不是某条数据是不是已经存在了,可以根据主键来判断是不是已存在,存在的跳过就可以了。例如: [php]$qu...
请版主帮忙看下,下面是什么错误,,这个dic1.txt 直接从可用的xdb文件用dump导出的,现在不做任何修改直接make_xdb 就会报如下错误: C:\php>php make_xdb_file.php hah11.xdb dic1.txt INFO: Loading text file data ... PHP Notice: Uninitialized string off...