Drupal7 集成 Solr4.4模块

来源:互联网 发布:北京学软件测试 编辑:程序博客网 时间:2024/06/05 17:03
1. Apache Solr的服务器已经配置好
2.下载模块https://drupal.org/project/apachesolr
3.将C:\AppServ\www\dev\sites\all\modules\apachesolr\solr-conf\solr-4.x里的schema.xml,solrconfig.xml,protwords.txt复制到C:\Tomcat 7.0\solr_tomcat\collection1\conf
4.在
C:\Tomcat 7.0\solr_tomcat\collection1\conf里新建文件elevate.xml,mapping-ISOLatin1Accent.txt,stopwords.txt,synonyms.txt
5.启用Apache Solr framework和Apache Solr search 
6.在/admin/config/search/settings重建站点索引
7.在/admin/config/search/apachesolr重建索引(这个和问答模块可能会冲突,去掉问答前面的对号)
0 0