Centos6.10 安装SOLR搜索引擎
安装包下载
https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
http://apache.fayea.com/tomcat/tomcat-8/v8.5.35/bin/
http://mirror.bit.edu.cn/apache/lucene/solr/6.6.5/
安装服务(线上文档)
https://blog.csdn.net/l1028386804/article/details/70199983
服务启动停用
/down/apache-tomcat-8.5.35/bin/startup.sh
/down/apache-tomcat-8.5.35/bin/shutdown.sh
后台访问地址:
http://IP:8080/solr/index.html
接口执行操作:
重新加载索引库
http://IP:8080/solr/项目/dataimport?command=full-import&clean=true&commit=true
增量加载索引库
http://IP:8080/solr/项目/dataimport?command=delta-import&clean=false&commit=true