.../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.php(2202): Connection r...
...l://数据库用户名:数据库密码@数据库地址/数据库名 --sql="select t.tid as tid, t.fid as fid, t.author as author, t.authorid as authorid, t.postdate as postdate, t.subject as subject, tm.content as content from pw_threads t left join pw_tmsgs tm on t.tid = tm.tid where t.ifcheck = 1 ...
...l/Indexer.php --rebuild --source=mysql://root:pass@localhost/dbname --sql="SELECT * FROM tbl_post" --project=demo 注:这里的前提是你已经把帝国装在服务器上了"mysql://root:pass@localhost/dbname",这个句段必须得知道root的密码,另外帝国使用的数据库名称,...
...l/Indexer.php --rebuild --source=mysql://root:pass@localhost/dbname --sql="SELECT * FROM tbl_post" --project=demo 注:这里的前提是你已经把帝国装在服务器上了"mysql://root:pass@localhost/dbname",这个句段必须得知道root的密码,另外帝国使用的数据库名称,...
...ndexer.php -- source=mysql://root:admin@localhost/linjulusrc2.0_db2 --sql="SELECT * FROM uchom e_farm_farmland" --project=D:\xampp\htdocs\linjulu\home\farm\data\xunsearch_conf ig.ini [XSException] ../..(2177): 由于目标机器积极拒绝,无法连接。 (C#10061) #0 ../../:\xampp\htdocs\xunsear...
...] [php] ./Indexer.php --source=mysql://root:root@localhost/blog --sql="select b.bid,b.content AS bc,b.addtime,b.title,c.content AS CC from blog b,comment c where b.bid = c.bid" /usr/local/xunsearch/sdk/php/app/59n.ini [/php] [code] [XSException] ../lib/XS.php(2202): Connection timed out(C#...
...thrown /var/www/xunsearch/sdk/php/lib/XS.php 1018 我的查询语句是:SELECT `ID` as _ID,`title` as _title,`Content` as _body,`QuestionTime` as _time,`UserNam` as _user,`tag` as _tag FROM wenti_nr Where `search`=0 若只用sql进行数据库查询能获取到结果,而用xunsearch执行更...
...l/Indexer.php --rebuild --source=mysql://root:pass@localhost/dbname --sql="SELECT * FROM tbl_post" --project=demo # 查看 demo 项目在服务端的相关信息 util/Indexer.php --info -p demo # 强制刷新 demo 项目的搜索日志 util/Indexer.php --flush-log --project demo # 强制停止重...
.../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" 开始批量导入数据 (请直接输入数据) ... 完成索引导入:成功 338 条,失败 0 条 刷新索引提交 ... 以前还好是来...
...ndexer.php(195): XSIndex->update(Object(XSDocument)) sql语句: sql="select c.contentid,c.status,b.contentid from phpcms_content c,phpcms_c_news b where c.contentid=b.contentid and c.status=99" 配置文件: project.name = html project.default_charset = utf-8 server.index = 8383 ...