![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
solr
文章平均质量分 92
黑尾土拨鼠
远处的是风景,近处的才是人生
展开
-
搭建solr搜索服务
一、单例版搭建 (一)、solr实例安装 1、安装jdk、安装tomcat 2、解压solr压缩包 3、把目录下的/solr.war部署到tomcat下,即复制到webapps下。 4、启动tomcat,会自动解压war包。 5、需要把目录下example/lib/ext的所有的jar包添加到solr工程中。 cp * /usr/loc...原创 2018-07-02 18:15:41 · 373 阅读 · 0 评论 -
常用工具类--solr索引添加 查询 删除
solr常用操作 首先是连接solr服务器: public class solrServer { private solrServer(){}; final static String SOLR_URL = "http://localhost:8080/solr/test"; private static HttpSolrClient server = null; ...原创 2018-10-17 09:37:29 · 540 阅读 · 0 评论