Used to specify an alternate directory to hold all index data
other than the default ./data under the Solr home. If
replication is in use, this should match the replication
configuration.
-->
<dataDir>${solr.data.dir:D:\apache-tomcat-7.0.40\solr\data}</dataDir>
6. 防止乱码的在tomcat/conf/server.xml中加入;
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443"
URIEncoding="UTF-8"/>
7. 将D:\solr-4.4.0\\example\lib\ext下的5个jar包和D:\solr-4.4.0\\example\resources下的log4j放入tomcat的lib目录下
8. 重新启动tomcat,浏览器中输入:http://localhost:8080/solr