.../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_type='post'" Indexer - 索引批量管理、导入工具 (xunsearch/1.3.3...
...dexer.php --rebuild --source=mysql://root:123456@localhost/cusabio --sql="SELECT * FROM proinfo where is_show=1" --project=cusabio_cn_fix --filter=/xunsearch/bin/sdk/php/lib/FixcnFilter -c gbk 里面的 filter=/xunsearch/bin/sdk/php/lib/FixcnFilter 过滤器每次都要进行指定。 官方能...
... 2,运行命令util/Indexer.php --rebuild --source=mysql://隐藏 --sql="select did, tag, title, content from wiki_doc" --filter=/usr/local/xunsearch/sdk/php/lib/MyBlogFilter --project=go >log.txt 然后仍然显示”忽略错误的过滤器“,我查了下感觉没啥问题啊。怎么老忽...
...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 = self tokenizer = full [tid] [first]...
...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...
...l/Indexer.php --rebuild --source=mysql://root:pass@localhost/dbname --sql="SELECT * FROM tbl_post" --project=demo 建立索引 [php] [/php] 可是搜寻的结果却是这样 75. "正韓"百搭休閒款內條紋2件式棉T 78. "韓版"百搭休閒款露肩包臀英文背心(現貨2...
...入 /usr/local/xunsearch/sdk/php/util/Indexer.php --source=xxxxxx --sql="SELECT p.ID,UNIX_TIMESTAMP(p.post_date) AS post_date,p.post_title,p.post_content,u.user_login AS author,t.name AS category FROM wp_posts AS p LEFT JOIN wp_users AS u ON p.post_author=u.ID LEFT JOIN wp_term_relationships AS tr ...
...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->beginRebuil...
...如下SQL语句初始化crontab表: [code]insert into `crontab` (`sid`) select `id` from `sample`;[/code] 由于crontab表设置sid为唯一性索引约束,因此可重复执行上述语句,或者更新数据的时候同步更新新添加的数据ID到crontab表 可能存在的问题是...
...l://数据库用户名字:数据库密码@localhost/数据库名字 --sql="select did, tag, title, content from wiki_doc" --filter=debug --project=go >log.txt 说明:a,使用>log.txt是因为我的ssh显示乱码; b,filter的后面说明,首次用可以把--filter=debug去掉 ...