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