solr下载地址:http://archive.apache.org/dist/lucene/solr/

注:solr 5.0版本后面版本没有  /dist/solr-xxx.war这个文件.本人用的是solr-4.9.1,如果你们用的是solr5.0及以上的版本自找其它教程

solr配置

solr配置

solr配置

在你本地电脑新建一个solr_home的文件夹,

solr配置

solr配置

这时运行http://localhost:8080/solr/ 是报错的 运行http://localhost:8080不报错就可以关掉tomcat运行页面,这时,可以看到

solr配置

solr配置

solr配置

再启动tomcat,在浏览器输入地址http://localhost:8080/solr/ 回车,成功界面就是下面这个页面solr配置

新建core以及删除core

新建core

solr配置

solr配置

然后运行tomcat

solr配置

删除core

先要看tomcat关闭了么,关闭了就把你不要的那个core文件夹删掉并重启tomcat

相关文章:

  • 2021-05-02
  • 2022-01-19
  • 2021-11-29
  • 2021-07-18
  • 2021-08-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-28
  • 2021-12-04
  • 2021-05-20
  • 2021-07-21
相关资源
相似解决方案