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