...数据有16条, 导入用了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....
...8383端口不能连上。登录xunsearch的主机,运行ps -ef |grep xs root 3966 1 0 07:47 ? 00:00:00 xs-searchd: master root 3974 3966 0 07:47 ? 00:00:00 xs-searchd: worker[1]...
[quote='hightman' pid='3753' dateline='1364707096'] phpize 后先 configure [/quote] 我有configure的。configure时也报了不少错。最后的错误提示是“configure: WARNING: unrecognized options: --with-scws” 我把configure全过程发图给您(见图stoned2.jpg)。 ----- ...
...c function toProjectIni($project){ if (!is_file($project)) { $appRoot = getenv('XS_APP_ROOT'); if ($appRoot === false) { $appRoot = defined('XS_APP_ROOT') ? XS_APP_ROOT : dirname(__FILE__) . '/../app'; } return $appRoot . '/' . $project . '.ini'; } else {...
[php] [root@localhost bin]# ./php /usr/local/lamp/xunsearch/sdk/php/util/Quest.php demo 很有 在 3 条数据中,大约有 0 条包含 很有 ,第 0-0 条,用时:0.0022 秒。 [root@localhost bin]# 有意思 -bash: 有意思: command not found [root@localhost bin]# ./php /usr/local/l...
[root@sm ~]# cd /usr/local/xunsearch/ [root@sm xunsearch]# ls bin data etc include lib sdk share tmp [root@sm xunsearch]# ./sdk/php/util/ Indexer.php Quest.php SearchSkel.php XSDataSource.class.php IniWizzard.php RequiredCheck.php skel/...
...-ctl.sh start又出现了这个问题。 我忘了启动httpd和mysqld。 [root@sm xunsearch]# ./bin/xs-ctl.sh restart INFO: stopping server[xs-indexd] (BIND:127.0.0.1:8383) .... [OK] INFO: re-starting server[xs-indexd] ... (BIND:127.0.0.1:8383) INFO: stopping server[xs-searchd] (BIND:127.0.0.1:8384...
第一次导入数据: Indexer.php --rebuild --source=mys ql://root:123456@192.168.1.1/shop --sql="select * from search_products1" --project=demo 成功! Indexer.php --rebuild --source=mys ql://root:123456@192.168.1.1/shop --sql="select * from search_products2" --project=demo 再次导...
...: util/Indexer.php --source=csv --clean demo 出现以下错误: [root@localhost php]# util/Indexer.php --source=csv --clean demo Object id #2 #0 lib/XS.php(367): xs_error_handler(8, 'Uninitialized s...', '/www/xunsearch/...', 367, Array) #1 lib/XS.php(421): XS->parseIniData('project.nam...
...mo.ini server.index server.search 为ip:XXXX require $_SERVER['DOCUMENT_ROOT'].'sdk/php/lib/XS.php'; $xs = new XS($_SERVER['DOCUMENT_ROOT'].'sdk/php/app/demo.ini'); $docs = $xs->search->search('hightman'); print_r($docs); 结果出现 Fatal error: Uncaught [XSException] ../..(2481):...