...件如下 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...
$ 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...
... XSServer->__construct(8383, Object(XS)) #4 ../phplib/XS.php(222): XS->getIndex() #5 ../phputil/Indexer.php(121): XSComponent->__get('index') #6 {main} 连接局域网内其他主机mysql是出的错误 命令如下: util/Indexer.php -p discuz --source=mysql://aaa:bbb@192.168.0.1/bbs --sql...
/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...
...ch.ini [code] project.name = search project.default_charset = utf-8 server.index = 8383 server.search = 8384 [ID] type = id [title] type = title [content] type = body [/code] 2、索引 [code] util/Indexer.php --source=mysql://root:pwd@localhost/dede --sql="SELECT ID, title, content FROM dede_art...
/usr/local/php/bin/php /usr/local/xunsearch/sdk/php/util/Indexer.php --rebuild --source=mysql://root:123456@127.0.0.1/test --sql="select * from pw_record" --project=record 以上是默认mysql 端口号为3306 导入命令 但是, 现在我的mysql 端口号是6630 在--source=mysql://roo...
./Indexer.php -p --rebuild --source=mysql://root:'111111'@localhost/tmp_tsg --sql="select*,IF(market_price>0,round(shop_price/market_price*10,1),10) as rebate from tsg_goods" -p ../app/goods.ini [/php][/quote]初始化数据源 ... mysql://root:6$4!rgnbmClskax@localhost/tmp_tsg PHP Notice: Und...
A、/util/Indexer.php --rebuild --source --sql="SELECT" --project=demo B、$index->beginRebuild(); foreach ($data as $k => $v) { $doc = new XSDocument; $doc->setFields($v); $index->update($doc); } $index->endReb...
按照http://www.xunsearch.com/doc/php/guide/start.demo的指导, [code]cd $prefix/sdk/php util/Indexer.php --source=csv --clean demo[/code] 提示如下: /usr/bin/env: php: No such file or directory 请问是什么原因?
[root@localhost ~]# /data/server/php/bin/php /data/web/sftest/php/util/Indexer.php --rebuild --source=mysql://root:123456@localhost/test --sql="SELECT * FROM documents" --project=demo 开始重建索引 ... 初始化数据源 ... mysql://root:123456@localhost/test [XSException] [color=#FF0000]...