为什么我到这一步 就不动了呢 ./sdk/php/util/Indexer.php --source=csv --clean demo [root@localhost home]# ls lnmp0.9-full lnmp.log lost+found wwwlogs lnmp0.9-full.tar.gz location www wwwroot [root@localhost home]# cd wwwroot [root@localhost wwwroot]# ls ftp index.h...
为什么我到这一步 就不动了呢 ./sdk/php/util/Indexer.php --source=csv --clean demo [root@localhost home]# ls lnmp0.9-full lnmp.log lost+found wwwlogs lnmp0.9-full.tar.gz location www wwwroot [root@localhost home]# cd wwwroot [root@localhost wwwroot]# ls ftp index.h...
无论我打什么命令,无论Indexer.php后面加什么参数,都是显示帮助文档,这是怎么回事呢? [code][root@abc util]# /usr/local/php/bin/php Indexer.php --info Indexer - 索引批量管理、导入工具 (xunsearch/1.3.3) 用法 Indexer.php [options] [-p|--projec...
[root@localhost xunsearch]# util/Indexer.php --source=test.csv --clean demo 清空现有索引数据 ... 初始化数据源 ... test.csv [XSException] util/XSDataSource.class.php(49): Undefined data source type: `test.csv' #0 Indexer.php(241): XSDataSource::instance('test.csv', NULL) #1 {main}...
...de][root@a107 ~]# /usr/local/php/bin/php /usr/local/xunsearch/sdk/php/util/Indexer.php --project=xxx –-source=mysql://xxx:xxx@localhost/xxx --sql="select ID,post_title,post_content,UNIX_TIMESTAMP(post_date) as post_time from wp_posts where (post_status='publish' or post_status='pending') and post_...
第一次导入数据: 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 再次导...
...p/guide/start.demo 在执行 2. 填充索引数据□ 中的 : 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/...',...
我在用 indexer.php 生成的索引的时候.... 由于目标机器积极拒绝,无法连接。 what. 看不明白..求解释~ windows 下的sdk D:\xampp\php>php.exe D:\xampp\htdocs\xunsearch-1.3.0\sdk\php\util\Indexer.php -- source=mysql://root:admin@localhost/linjulusrc2.0_db2 --sql="SELECT...
...件如下 project.name = entry project.default_charset = UTF-8 server.index = 10.1.20.51:8383 server.search = 10.1.20.51:8384 [tblog_entry_id] type = id [content] type = string index = both [user_id] type = numeric index = self tokenizer = full [post_time] type = numeric in...
[root@VM71 php]# util/Indexer.php --source=csv --clean demo Object id #9 #0 lib/XS.php(2080): XSServer->read(8) #1 lib/XS.php(2065): XSServer->getRespond() #2 lib/XS.php(2042): XSServer->execCommand(Array, 201) #3 lib/XS.php(2003): XSServer->setProject('demo') #4 lib/XS.php(...