The basic configuration is that SOLR does not report an error. You can access the Web page normally:
Copy SOLR. War to Tomcat. An error will be reported during the first running. You need to configure the decompression part as follows:
Go to SOLR \ WEB-INF to modify the Web. xml file and open the comments section:
<!-- <env-entry> <env-entry-name>solr/home</env-entry-name> <env-entry-value>/put/your/solr/home/here</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> -->
And modify the content as follows:
<env-entry> <env-entry-name>solr/home</env-entry-name> <env-entry-value>E:\solr\home</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry>
And create
E:\solr\home
Directory
2. Copy contents under solr-4.10.0 \ example \ multicore
E:\solr\home
Directory.
Run Tomcat and access:
Http: // ip: Port/SOLR:
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4B/3D/wKiom1Qo4sSC-1AMAAGdPsxNPLI960.jpg "Title =" 11.jpg" alt = "wKiom1Qo4sSC-1AMAAGdPsxNPLI960.jpg"/>
This article from the "difficult program ape Road" blog, please be sure to keep this source http://wangchangkun.blog.51cto.com/2238068/1559345
Solr4.10 Quick Start Configuration