solr5.2..1中关于velocity搜索界面的部分配置


确定分面字段。
参考文档:\ solr-5.2.1\example\files\README.txt  的内容在Ubuntu平台操作,
得到 solr-5.2.1/server/solr/files/conf/velocity 文件夹
复制到 core或collection中的conf文件夹中。
修改solrconfig.xml文件。配置velocity writer
修改参考:solr-5.2.1/server/solr/configsets/sample_techproducts_configs/conf/solrconfig.xml
修改其中的 <requestHandler name="/browse" class="solr.SearchHandler">
复制 velocity需要的包(contrib/velocity/*.jar 及solr-velocity.jar)到 部署的lib目录
访问地址为http://localhost:8983/solr/conllection_name/browse 访问到velocity搜索界面。

猜你喜欢

转载自feng-tai-jun.iteye.com/blog/2269907