...ep17 0:00 xs-searchd: worker[3] [root@server67 php]# util/Indexer.php --source=csv --clean demo 清空现有索引数据 ... 初始化数据源 ... csv WARNING: input file not specified, read data from 开始批量导入数据 (请直接输入数据) ... 1,关于 xunsearch 的 DEMO 项目...
...ep17 0:00 xs-searchd: worker[3] [root@server67 php]# util/Indexer.php --source=csv --clean demo 清空现有索引数据 ... 初始化数据源 ... csv WARNING: input file not specified, read data from 开始批量导入数据 (请直接输入数据) ... 1,关于 xunsearch 的 DEMO 项目...
[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(...
... client: xxx.xxx.xxx.xxx, server: www.xxx.xxx, request: "GET /search?q=source%3Aqiyi+type%3Avideo+tag%3A%E7%94%B5%E5%BD%B1+OR+tag%3A%E6%83%8A %E6%82%9A+OR+tag%3A%E7%8A%AF%E7%BD%AA+OR+tag%3A%E7%88%B1%E6%83%85 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.xxx.xxx", referrer: "...
...能导入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.goods_img,CONCAT(ga.attr_id,'...
[root@hp php]# util/Indexer.php --source=csv --clean demo [XSException] lib/XS.php(2092): Failed to create home directoy of the project(S#508) #0 lib/XS.php(2067): XSServer->execCommand(Array, 201) #1 lib/XS.php(2028): XSServer->setProject('demo') #2 lib/XS.php(2011): XSServer->open('8383') #3 ...
... utf-8,并把数据源字符集视为项目的默认字符集。 * _--source _ 用于指定数据源,数据源有以下 2 种情况。 凡是包含冒号的数据源均视为 SQL 数据源,自动将 _--sql_ 选项的值作为参数传递给数据源; 其它情况则为文件...
...就可以正常导入。 我输入命令符的时候 util/Indexer.php --source=json cusabio_cn_fix /var/www/fix/file1.txt -c gbk 报错误为 WARNING: invalid line #1 - Empty array INFO: reach end of the file, total lines: 1 Íê³ÉË÷Òýµ¼È룺³É¹¦ 0 Ìõ£¬Ê§°Ü 0 Ìõ
$ util/Indexer.php --rebuild --source=mysql://xxxl@localhost/coreseek --sql="SELECT * FROM documents" --project=demo 开始重建索引 ... [XSException] lib/XS.php(2094): DB has been rebuilding(S#407) #0 lib/XS.php(1192): XSServer->execCommand(Array, 257) #1 Indexer.php(197): XSIndex->beginRebu...
...主机mysql是出的错误 命令如下: util/Indexer.php -p discuz --source=mysql://aaa:bbb@192.168.0.1/bbs --sql="select * from cdb_post" -c gbk ini的配置如下: project.name = discuz project.charset = GBK server.index = 8383 server.search = 8384 [pid] type = id [fid] index...