2015年1月16日

solr高亮及摘要

摘要: 修改了原文的一点内容:原文地址为:http://www.cnblogs.com/rainbowzc/p/3680343.html高亮显示两种方法:1.在程序里通过设置query返回高亮信息publicSolrDocumentListquery(Stringstr){SolrQueryquery=ne... 阅读全文

posted @ 2015-01-16 17:28 太极芋头 阅读(379) 评论(0) 推荐(0) 编辑

solr问题missing content stream

摘要: 在使用solrj建立索引的时候,报错:missing content stream;原因在于HttpSolrServer httpSolrServer = new HttpSolrServer(sorlurl); try { httpSolrServer.add(doc... 阅读全文

posted @ 2015-01-16 17:22 太极芋头 阅读(3641) 评论(0) 推荐(1) 编辑

solr源码解读(转)

摘要: solr源码解读(转)原文地址:http://blog.csdn.net/duck_genuine/article/details/6962624配置solr 对一个搜索请求的的流程在solrconfig.xml会配置一个handler。配置了前置处理组件preParams,还有后置处理组件filt... 阅读全文

posted @ 2015-01-16 16:57 太极芋头 阅读(782) 评论(0) 推荐(0) 编辑

solr安装配置

摘要: solr安装配置1、到apache下载solr2、解压出solr-4.10.03、复制solr-4.10.0\example\webapps中的solr.war文件到tomcat安装目录中的webapps文件夹下4、运行tomcat,tomcat会自动解压solr.war文件。5、删除solr.wa... 阅读全文

posted @ 2015-01-16 16:09 太极芋头 阅读(132) 评论(0) 推荐(0) 编辑

导航