SORL installation under Windows

Source: Internet
Author: User
Tags solr

1. JDK Requirements

SOLR 4.10 requires that the JDK version must be 1. 7 or higher.

2. Download

: http://www.apache.org/dyn/closer.cgi/lucene/solr/

download to get the zip archive, the download version is 4. 10.2. The file size is around 148MB.

3. installation

1, Copy the Solr-4.10.2.zip file to the C drive, (or any other disk can be, as long as the directory does not appear in Chinese on the line.) )

2, unzip the Solr-4.10.2.zip file, get solr-4.10.2 directory.

3, Run Ècmd execution (enter C:\solr-4.10.2\example):

4, execute the command: Java-jar Start.jar

5, open the browser, enter the address:http://localhost:8983/solr/

At this point, SOLR has been installed successfully.

4. Inserting Data

SOLR After the installation is complete, there is no data, we need to import some data in to facilitate our study.

Run ècmdè input command:CD C:\solr-4.10.2\example\exampledocs

re-enter the command: Java-jar Post.jar solr.xml monitor.xml

The data has been queried.

SORL installation under Windows

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.