windows + tomcat8.5 + solr environment configuration tutorial

Download solr version

This tutorial takes solr-4.10.4.zip, download Portal: https: //archive.apache.org/dist/lucene/solr/4.10.4/

Download and unzip

solr-4.10.4\solr-4.10.4\example\webapps

Solr.war files found

Solr.war copy files to the installation directory tomcat webapps folder, and after starting tomcat will be unpacked folder solr

Stop tomcat

Copy the log4j.properties file to solr just tomcat webapps folder under \ WEB-INF \ classes  no classes folder please create your own

Then Solr \ \ \ example \ copy solr-4.10.4 solr-4.10.4 under lib \ ext directory all jar files to C: \ Program Files \ Apache Software Foundation \ Tomcat 7.0 \ webapps \ solr \ WEB-INF \ lib directory that your tomcat installation directory

 

 

 

Then create a solr_home index folder, copy the file to the directory example solr_home files created folder

Then modify the configuration

After modifications are complete to save the file, and restart the tomcat

Enter the address: http: // localhost: 8080 / solr

 

 Please leave a message if there is any shortage

 

Guess you like

Origin www.cnblogs.com/ff111/p/11322166.html