... phrase = yes [author] index = self [post_content] type = body [post_title] type = title [post_date] type = numeric index = self [category] index = self [/php] 索引导入 /usr/local/xunsearch/sdk/php/util/Indexer.php --source=xxxxxx --sql="SELECT p.ID,UNIX_TIMESTAMP(p.pos...
...post_content_full] //全部内容 cutlen = 300 //显示300个字节 [post_title] //标题 type = title [post_time] //时间YYYYmmdd形式 type = date [post_date_sec] //时间戳 [category] //分类 index = self [category_id //分类ID type = numeric index = none 可以...
...hp --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) 用...