...nsearch/sdk/php/lib/下面,并且赋予755权限; 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 然后仍然显示”忽略错误的过滤器...
...ep xs root 21853 0.0 0.0 2184 652 ? S Sep17 0:04 xs-indexd: server root 21856 0.0 0.0 39536 1680 ? S Sep17 0:00 xs-searchd: master root 21857 0.0 0.0 101136 3120 ? Sl Sep17 0:00 xs-searchd: worker[1] root 21858 0.0 0.0 101136 310...
...制使用 project.name = myblog project.default_charset = utf-8 server.index = 8383 server.search = 8384 [ID] // 文章ID type = id phrase = yes [author] //作者 index = self [post_content] //内容 type = body [post_content_full] //全部内容 cutlen = 300 //显示300个...
...ame = go project.default_charset = utf-8 ;服务端用默认值 ;server.index = 8383 ;server.search = 8384 [did] type = id [title] type = title [tag] index = self [content] type = body[/code] 其中did为hdwiki每个词条唯一的编号(这个与url对应) title为词条...
...去掉之后,就可以正常导入。 我输入命令符的时候 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 Ìõ£¬Ê§...
...----------------------------------+-----+ 22 rows in set (0.00 sec) 这是Indexer导入的结果 $php /usr/local/xunsearch/sdk/php/util/Indexer.php --project=${project_ini} --charset=utf8 --source=${mysql} --sql="select group_concat(game_tag.tag__id) as tag__id,t.id as id from m as t left join game...
... etc include lib sdk share tmp [root@sm xunsearch]# ./sdk/php/util/ Indexer.php Quest.php SearchSkel.php XSDataSource.class.php IniWizzard.php RequiredCheck.php skel/ XSUtil.class.php [root@sm xunsearch]# ./sdk/ph...
[php]root@localhost ~]# Indexer.php --source=mysql://xxx@localhost/phpcms --sql="SELECT a.id,a.title,a.url,a.catid,FROM_UNIXTIME (inputtime,'%Y%m%d' ) as inputtime,ad.content,c.catname,c.url as caturl FROM v9_dede_article AS a LEFT JOIN v9_dede_article_data as ad on a.id=ad.id LEFT JOIN v9_categ...
...目名.ini project.name = 项目名 project.default_charset = UTF-8 server.index = 192.168.0.250:8383 server.search = 192.168.0.250:8384 [tid] type = id [fid] index = self tokenizer = full [author] [authorid] index = self tokenizer = full [postdate] tokenizer = full [subject] type = title [co...