SOLR Learning (i) integrating SOLR into Tomcat

Source: Internet
Author: User
Tags solr tomcat

Disclaimer: I am using Slor 4. Integrated in the 7.2+tomcat7+widows environment

First, download solr4.7.2, unzip. Unzip the directory below.


Copy the Solr.war in the Example/webapps directory into the WebApps directory of Tomcat;

Third, the Solr.war decompression, at this time you can delete the Solr.war file.

Iv. Create a new file home, name and location options, as pictured myself in my Learning Search technology folder built under the Solr-tomcat


Five, find the following image path of SOLR under EXAMPLE/SOLR, the following figure


Copy all the files under SOLR to the newly created solr-tomact above and copy the past as shown in the figure


Vi. Copy all jar packages under example/lib/ext/to the Lib directory of Tomcat/webapps/solr/web-inf, altogether 5, is SOLR's independent log processing module;

Seven, create a new classes directory under tomcat/webapps/solr/web-inf/, will example/ Resources, the Log4j.properties file is copied to the classes directory, or the log module does not work properly;

Find the tags used to configure environment variables in the Web. xml file, remove the annotations, and modify the environment variables to



Nine, browser input: HTTP://LOCALHOST:8080/SOLR can see SOLR management interface, anyway I was successful, the omission of the place can be Google or Baidu Oh.




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.