SOLR 5.1.0 Installation-windows

Source: Internet
Author: User
Tags solr

Before 4.10 wrote a installation tutorial, is installed in Tomcat, in order to install 5.1, looked at the following introduction, found from 5.x after SOLR integrated jetty, installation has become a lot easier.

Now only three steps can be done, download SOLR package decompression, decompression, start on the line, of course, have the JDK environment (more than 1.7 must)

1, download

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

2, unzip the directory

3, starting from the command line

Enter the SOLR root directory via cmd

>>H:>>CD \points\solr-5.1. 0

Start:

Bin\solr.cmd start-f  

Then the browser enters: http://localhost:8983/solr/is done

Other commands:

#    8983  # command to stop specifying a port number:     8983  

Create a core

    1. What is core?

A core of SOLR is equivalent to a single policy, with a separate profile Solrconfig.xml, Schema.xml.

Solrconfig.xml The core is configured as a whole, such as the storage path for the index, the maximum length of the field (Maxfiedllength), the time-out (writelocktimeout) of the write lock, the merge factor (Mergefactor), the delete policy, the autocommit policy, Cache settings, etc., it is like a manual for assembling a robot, which describes in detail the parameters of each component (handler).

Schema.xml mainly for the configuration of the index, such as word breaker, field name + Index method + Storage mode + word breaker, unique identification field, etc., it is like a learning method of robot learning, the robot actively or passively accept the specific data, according to the configuration into the index, and then through its components (handler) display, For example: Search, Morelikethis, spellcheck, Factedsearcher, etc.

2. Create a core step (example: Create a new core called Core_one)

A. In the SOLR installation directory \SERVER\SOLR create a new folder called Core_one\

B. Locate the Conf folder in the H:\points\solr-5.1.0\server\solr\configsets\sample_techproducts_configs directory, and copy to the Core_one folder you just created

C. On the SOLR page, click Core Admin-->add core to add a core

  

With the addition, there's a new core.

    

SOLR 5.1.0 Installation-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.