SOLR Standalone Configuration

Source: Internet
Author: User
Tags solr

First, prepare the software

    1. Install Java1.8 and Tomcat9 in advance.
    2. Download Solr6.1, website location: http://mirrors.tuna.tsinghua.edu.cn/apache/lucene/solr/6.1.0/

3. Extracting files


Second, installation
1. Copy the WebApp folder under the Solr-6.1.0\server\solr-webapp folder to the Tomcat installation directory \webapps\ directory and change to SOLR

2. Copy all jar packages under the Solr-6.1.0\server\lib\ext\ directory to the Tomcat installation directory \webapps\solr\web-inf\lib directory.

3. Copy the Solr-6.1.0\server\resources\log4j.properties file to the Tomcat installation directory \webapps\solr\web-inf\classes\ folder. If you do not have a classes folder, create a new one.



4. Create the SOLR root directory. Create a new directory E:\SOLR and copy the file Solr-6.1.0\server\solr\solr.xml to the E:\solr\ directory.

5, configure the Tomcat installation directory \webapps\solr\web-inf\web.xml file, modify the following configuration content (the initial state of the content is commented out)

Change the contents of <env-entry-value> to the SOLR root directory that you created.

6. Restart Tomcat and enter http://localhost:8080/solr/index.html in the browser to see the management interface of SOLR.

Third, core Admin (ADD core CREATE INDEX Library)

New Folder Mycore1 and data, the folder path is E:\solr\mycore1 and E:\solr\mycore1\data, will Solr-6.1.0\server\solr\configsets\basic_configs\ Copy the Conf folder under the E:\solr\mycore1 directory. Create a new core in the admin interface


Refresh the interface to create the success.

SOLR Standalone Configuration

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.