Solr4.10.3 installation configuration

system environment

           The window version is: windows 8.1 64 bit 

Software Environment

           JDK version: 1.7

           solr version: 4.10.3

           tomcat version: tomcat 7

 

Installation process

Step 1: Unzip the downloaded solr-4.10.3.zip, and copy all files in the directory %solrhome%\example\solr to K:/solr after unzipping

 

Step 2: Copy %solr%\dist\solr-4.10.3.war to the webapp directory under the tomcat installation directory , and change its name to: solr.war; open the tomcat service, and get the solr project file; close the tomcat service, delete solr.war

 

Step 3: Modify the solrconfig.xml file in the C:\solr\collection1\conf directory, and point the value of the dataDir node to the file path configured in Step 1. As shown below:


 

Step 4: Modify the %tomcat%\webapp\solr\WEB-INF\web.xml file as follows:


 

Step 5: Copy  all jar packages in the %solr%\example\lib\ext directory to the %tomcat%\webapp\solr\WEB-INFlib directory.

 

Step 6: Copy %solr% \example\example-DIH\solr\db\conf\currency.xml to K:\solr\collection1\conf\

(ps: If you don't copy currency.xml to the directory address, an error will be reported. I don't know if it is only me who has this problem. The error is as follows:

SolrCore 'collection1' is not available due to init failure:Could not load conf for core collection1: Error loading solr config from solr/collection1/conf/currency.xml...

)

 

Finally, start tomcat and enter http://localhost:8080/solr in the browser  to access the solr management page, as shown below:


Summary: Although I finally saw the normal solr background management interface, there are still many problems in the logs printed from Logging. I don’t know if the impact is big. If there are students who are familiar with Solr, please point it out.Smile 


 

 

 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327044716&siteId=291194637