...的时候出现如下错误 [XSErrorException] ../usr/local/xunsearch/sdk/php/util/Indexer.php(176): ob_flush(): failed to flush buffer. No buffer to flush.(8) #0 [internal function]: xs_error_handler(8, 'ob_flush(): fai...', '/usr/local/xuns...', 176, Array) #1 /usr/local/xunsearch/sdk/php/util/Ind...
... 导入用了group by 后 只能导入2条了 [quote][root@FPDev util]# php Indexer.php --rebuild --source=mysql://root:@localhost/shop --sql="select g.goods_id,g.cat_id,g.goods_name,g.en_goods_name,g.goods_short_name,g.en_goods_short_name,g.brand_id,g.shop_price,g.goods_brief,g.en_goods_brief,g....
开始重建索引 ... [XSException] ../local/xunsearch/sdk/php/lib/XS.php(1898): DB has been rebuilding(S#407) #0 ../local/xunsearch/sdk/php/lib/XS.php(1122): XSServer->execCommand(Array, 257) #1 Indexer.php(163): XSIndex->beginRebuild() #2 {main}
...taFilter 子类 XSDebugFilter 始于 1.1.0 源代码 sdk/php/util/XSDataSource.class.php 数据过滤器的接口 以便在提交到索引前有一个修改和调整数据的机会 Public 方法 隐去继承来的方法 名称描述定义于 process() ...
昨天弄了一晚上, 因为我是写php的对C语言不熟系,研究了一下源代码,最终功夫不负有心人,成功的避过了中英文混合,使用字典中的词语分词,我用的是 scws-1.2.1.tar.bz2 这个版本,因为不能发附件,如果大家需要联系我: Ema...
硬件配置 Core2 四核 2.4G 6G内存 370w数据 php 5.4 + xunsearch 1.4.7 web和xun在同一台主机 第一次查询最少需要2.8秒 第二次则会下降到0.6秒 使用xhprof调试发现瓶颈位于 XSServer::read 中的 fread() 占用的时间是整个php开销的98.1% 这个是存储性...
...触迅搜. 不知道能不能接受 多字段搜索呢? 我的方法: [php] public function getShopRows($array = array()){ Yii::import('application.vendors.sdk.php.lib.XS'); $xs = new XS('shop'); $query = "regionId:".$array['regionId']; //return $query;exit; ...
... 1、我使用--rebuild建索引,会提示: [XSException] ../lib/XS.php(2233): DB has been rebuilding(S#407) #0 ../lib/XS.php(1198): XSServer->execCommand(Array, 257) #1 Indexer.php(241): XSIndex->beginRebuild() #2 {main} [b]这是咋回事?[/b] 2、我又换成--stop-rebuild,可...
...索引 只有目录 目录下没有文件 咋回事呢 /var/xunsearch/sdk/php/util/Indexer.php --source=mysql://root:root@192.168.1.700/test --sql="SELECT id, uid FROM test" --project="/var/xunsearch/sdk/php/app/person.ini" 开始批量导入数据 (请直接输入数据) ... 完成索引导入:...
运行环境 windows 2008 32位 IIS7 PHP 5.3.4 VC9 NTS PHP.INI [code] [16-Dec-2010 13:17:41] PHP Warning: PHP Startup: scws: Unable to initialize module Module compiled with build ID=API20090626,TS,VC6 PHP compiled with build ID=API20090626,NTS,VC9 These options need to match in Unk...