Use of SOLR 4.7.2

Source: Internet
Author: User

1, decompression Solr-4.7.2.zip

2. The Servers.xml file in the Conf directory under Tomcat will be

<connector port= "8080" protocol= "http/1.1"              connectiontimeout= "20000"               redirectport= "8443"/>

Add uriencoding= "UTF-8"; As follows:

<connectorport= "8080" protocol= "http/1.1"               connectiontimeout= "20000"               redirectport= "8443"                        uriencoding= "UTF-8"/>


3, in the Tomcat Conf\catalina\localhost directory to create a new file, file name is access path, random, file content as follows:

  <context path= "/SOLR" debug= "0" crosscontext= "true" docbase= "D:\SOLR" ><environmentname= "Solr/home" type= " Java.lang.String "value=" D:\SORL_HOME\SOLR "override=" true "/></context>

Docbase for the SOLR Project storage path, the project in the SOLR decompression path of the dist file, for a war package, when Tomcat started the automatic decompression, the resulting file is the use of the SOLR project.

Value for the SOLR Configuration project folder under example under Decompression path

Run, access the SOLR project and, if successful, fail.



Use of Chinese word breaker: http://www.tuicool.com/articles/67BFFz

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Use of SOLR 4.7.2

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.