shell脚本一键安装solr4.10.0

solr最新的压缩包: 
Java代码   收藏代码
  1. solr-4.10.0.tgz  


要求如下: 

1,在/root根目录下下载有solr的压缩包,散仙本次的例子是是solr最新的版本 
2,在shell脚本里面需要提前配置压缩包的安装路径,和解压缩后的文件名 
3,使用默认的jetty作为服务器启动的solr 
4,安装完毕后会直接启动solr,我们可以去web页面查看是否安装成功 



安装的脚本如下: 
Shell代码   收藏代码
  1. #解压路径  
  2. path="/root/search/"  
  3.   
  4. #压缩包名字  
  5. name="solr-4.10.0.tgz"  
  6.   
  7. #从压缩里解压后的名字  
  8. aname="solr-4.10.0"  
  9.   
  10.   
  11. if [ ! -e $path  ] ; then  
  12. echo "不存在$path^L路径,自动创建"  
  13. mkdir $path  
  14.   
  15. sleep 1  
  16. fi  
  17.   
  18.   
  19. #解压solr压缩包到指定路径下  
  20. tar -zxvf $name -C $path  
  21.   
  22. echo "解压完毕"  
  23. sleep 2  
  24.   
  25.   
  26. #安装路径  
  27. apath=$path"solr"  
  28.   
  29. if [ -e $apath  ] ; then  
  30. echo "存在$apath路径,准备移除"  
  31. rm -rf $apath  
  32. sleep 2  
  33.   
  34. echo "移除完毕!"  
  35.   
  36. fi  
  37.   
  38. mkdir $apath  
  39.   
  40. echo "拷贝文件到新的安装路径$apath"  
  41.   
  42. #拷贝exmpale下的所有文件到安装路径下  
  43. cp -a $path$aname'/example/'*  $apath  
  44.   
  45. echo "拷贝contrib文件$path"  
  46. cp -a $path$aname"/contrib"    $path  
  47. sleep 2  
  48. echo "拷贝dist文件到$path下"  
  49. sleep 2  
  50. cp -a $path$aname"/dist"    $path  
  51.   
  52.   
  53. echo "拷贝完毕,开启启动solr服务"  
  54.   
  55. cd $apath  
  56.   
  57. java -jar start.jar  


启动后如下: 
Java代码   收藏代码
  1.  framework/org/apache/solr/SolrTestCaseJ4.IValsPercent.html  
  2. solr-4.10.0/docs/solr-test-framework/org/apache/solr/SolrTestCaseJ4.SVal.html  
  3. solr-4.10.0/docs/solr-test-framework/org/apache/solr/SolrTestCaseJ4.SuppressSSL.html  
  4. solr-4.10.0/docs/solr-test-framework/org/apache/solr/SolrTestCaseJ4.Vals.html  
  5. solr-4.10.0/docs/solr-test-framework/org/apache/solr/SolrTestCaseJ4.XmlDoc.html  
  6. solr-4.10.0/docs/solr-test-framework/org/apache/solr/SolrTestCaseJ4.html  
  7. solr-4.10.0/docs/solr-test-framework/org/apache/solr/analysis/MockCharFilterFactory.html  
  8. solr-4.10.0/docs/solr-test-framework/org/apache/solr/analysis/MockTokenFilterFactory.html  
  9. solr-4.10.0/docs/solr-test-framework/org/apache/solr/analysis/MockTokenizerFactory.html  
  10. solr-4.10.0/docs/solr-test-framework/org/apache/solr/analysis/class-use/MockCharFilterFactory.html  
  11. solr-4.10.0/docs/solr-test-framework/org/apache/solr/analysis/class-use/MockTokenFilterFactory.html  
  12. solr-4.10.0/docs/solr-test-framework/org/apache/solr/analysis/class-use/MockTokenizerFactory.html  
  13. solr-4.10.0/docs/solr-test-framework/org/apache/solr/analysis/package-frame.html  
  14. solr-4.10.0/docs/solr-test-framework/org/apache/solr/analysis/package-summary.html  
  15. solr-4.10.0/docs/solr-test-framework/org/apache/solr/analysis/package-tree.html  
  16. solr-4.10.0/docs/solr-test-framework/org/apache/solr/analysis/package-use.html  
  17. solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/BaseDistributedSearchTestCase.RandDate.html  
  18. solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/BaseDistributedSearchTestCase.RandVal.html  
  19. solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/BaseDistributedSearchTestCase.html  
  20. solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/JSONTestUtil.html  
  21. solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrIgnoredThreadsFilter.html  
  22. solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrJettyTestBase.html  
  23. solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.CoreDescriptorBuilder.html  
  24. solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.Doc.html  
  25. solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.FVal.html  
  26. solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.Fld.html  
  27. solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.FldType.html  
  28. solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.IRange.html  
  29. solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.IVals.html  
  30. solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.IValsPercent.html  
  31. solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.SVal.html  
  32. solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.SuppressSSL.html  
  33. solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.Vals.html  
  34. solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.XmlDoc.html  
  35. solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.html  
  36. solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/AbstractDistribZkTestBase.html  
  37. solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/AbstractFullDistribZkTestBase.CloudJettyRunner.html  
  38. solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/AbstractFullDistribZkTestBase.html  
  39. solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/AbstractZkTestCase.html  
  40. solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/ChaosMonkey.html  
  41. solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/CloudInspectUtil.html  
  42. solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/IpTables.html  
  43. solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/MiniSolrCloudCluster.html  
  44. solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/MockSolrZkClient.html  
  45. solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/MockZkStateReader.html  
  46. solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/StopableIndexingThread.html  
  47. solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/ZkTestServer.HostPort.html  
  48. solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/ZkTestServer.html  
  49. solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/AbstractDistribZkTestBase.html  
  50. solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/AbstractFullDistribZkTestBase.CloudJettyRunner.html  
  51. solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/AbstractFullDistribZkTestBase.html  
  52. solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/AbstractZkTestCase.html  
  53. solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/ChaosMonkey.html  
  54. solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/CloudInspectUtil.html  
  55. solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/IpTables.html  
  56. solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/MiniSolrCloudCluster.html  
  57. solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/MockSolrZkClient.html  
  58. solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/MockZkStateReader.html  
  59. solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/StopableIndexingThread.html  
  60. solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/ZkTestServer.HostPort.html  
  61. solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/ZkTestServer.html  
  62. solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/package-frame.html  
  63. solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/package-summary.html  
  64. solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/package-tree.html  
  65. solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/package-use.html  
  66. solr-4.10.0/docs/solr-test-framework/org/apache/solr/core/AbstractBadConfigTestBase.html  
  67. solr-4.10.0/docs/solr-test-framework/org/apache/solr/core/MockDirectoryFactory.html  
  68. solr-4.10.0/docs/solr-test-framework/org/apache/solr/core/MockFSDirectoryFactory.html  
  69. solr-4.10.0/docs/solr-test-framework/org/apache/solr/core/class-use/AbstractBadConfigTestBase.html  
  70. solr-4.10.0/docs/solr-test-framework/org/apache/solr/core/class-use/MockDirectoryFactory.html  
  71. solr-4.10.0/docs/solr-test-framework/org/apache/solr/core/class-use/MockFSDirectoryFactory.html  
  72. solr-4.10.0/docs/solr-test-framework/org/apache/solr/core/package-frame.html  
  73. solr-4.10.0/docs/solr-test-framework/org/apache/solr/core/package-summary.html  
  74. solr-4.10.0/docs/solr-test-framework/org/apache/solr/core/package-tree.html  
  75. solr-4.10.0/docs/solr-test-framework/org/apache/solr/core/package-use.html  
  76. solr-4.10.0/docs/solr-test-framework/org/apache/solr/package-frame.html  
  77. solr-4.10.0/docs/solr-test-framework/org/apache/solr/package-summary.html  
  78. solr-4.10.0/docs/solr-test-framework/org/apache/solr/package-tree.html  
  79. solr-4.10.0/docs/solr-test-framework/org/apache/solr/package-use.html  
  80. solr-4.10.0/docs/solr-test-framework/org/apache/solr/update/processor/BufferingRequestProcessor.html  
  81. solr-4.10.0/docs/solr-test-framework/org/apache/solr/update/processor/class-use/BufferingRequestProcessor.html  
  82. solr-4.10.0/docs/solr-test-framework/org/apache/solr/update/processor/package-frame.html  
  83. solr-4.10.0/docs/solr-test-framework/org/apache/solr/update/processor/package-summary.html  
  84. solr-4.10.0/docs/solr-test-framework/org/apache/solr/update/processor/package-tree.html  
  85. solr-4.10.0/docs/solr-test-framework/org/apache/solr/update/processor/package-use.html  
  86. solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/AbstractSolrTestCase.html  
  87. solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/BaseTestHarness.html  
  88. solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/DOMUtilTestBase.html  
  89. solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/ExternalPaths.html  
  90. solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/RESTfulServerProvider.html  
  91. solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/RandomMergePolicy.html  
  92. solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/RestTestBase.html  
  93. solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/RestTestHarness.html  
  94. solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/RevertDefaultThreadHandlerRule.html  
  95. solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/SSLTestConfig.html  
  96. solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/TestHarness.LocalRequestFactory.html  
  97. solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/TestHarness.html  
  98. solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/AbstractSolrTestCase.html  
  99. solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/BaseTestHarness.html  
  100. solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/DOMUtilTestBase.html  
  101. solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/ExternalPaths.html  
  102. solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/RESTfulServerProvider.html  
  103. solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/RandomMergePolicy.html  
  104. solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/RestTestBase.html  
  105. solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/RestTestHarness.html  
  106. solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/RevertDefaultThreadHandlerRule.html  
  107. solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/SSLTestConfig.html  
  108. solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/TestHarness.LocalRequestFactory.html  
  109. solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/TestHarness.html  
  110. solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/package-frame.html  
  111. solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/package-summary.html  
  112. solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/package-tree.html  
  113. solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/package-use.html  
  114. solr-4.10.0/docs/solr-test-framework/overview-frame.html  
  115. solr-4.10.0/docs/solr-test-framework/overview-summary.html  
  116. solr-4.10.0/docs/solr-test-framework/overview-tree.html  
  117. solr-4.10.0/docs/solr-test-framework/package-list  
  118. solr-4.10.0/docs/solr-test-framework/prettify.js  
  119. solr-4.10.0/docs/solr-test-framework/resources/background.gif  
  120. solr-4.10.0/docs/solr-test-framework/resources/tab.gif  
  121. solr-4.10.0/docs/solr-test-framework/resources/titlebar.gif  
  122. solr-4.10.0/docs/solr-test-framework/resources/titlebar_end.gif  
  123. solr-4.10.0/docs/solr-test-framework/stylesheet.css  
  124. solr-4.10.0/docs/solr-uima/allclasses-frame.html  
  125. solr-4.10.0/docs/solr-uima/allclasses-noframe.html  
  126. solr-4.10.0/docs/solr-uima/constant-values.html  
  127. solr-4.10.0/docs/solr-uima/deprecated-list.html  
  128. solr-4.10.0/docs/solr-uima/help-doc.html  
  129. solr-4.10.0/docs/solr-uima/index.html  
  130. solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/FieldMappingException.html  
  131. solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/SolrUIMAConfiguration.html  
  132. solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/SolrUIMAConfigurationReader.html  
  133. solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/UIMAToSolrMapper.html  
  134. solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/UIMAUpdateRequestProcessor.html  
  135. solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/UIMAUpdateRequestProcessorFactory.html  
  136. solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/class-use/FieldMappingException.html  
  137. solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/class-use/SolrUIMAConfiguration.html  
  138. solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/class-use/SolrUIMAConfigurationReader.html  
  139. solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/class-use/UIMAToSolrMapper.html  
  140. solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/class-use/UIMAUpdateRequestProcessor.html  
  141. solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/class-use/UIMAUpdateRequestProcessorFactory.html  
  142. solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/package-frame.html  
  143. solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/package-summary.html  
  144. solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/package-tree.html  
  145. solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/package-use.html  
  146. solr-4.10.0/docs/solr-uima/overview-summary.html  
  147. solr-4.10.0/docs/solr-uima/overview-tree.html  
  148. solr-4.10.0/docs/solr-uima/package-list  
  149. solr-4.10.0/docs/solr-uima/prettify.js  
  150. solr-4.10.0/docs/solr-uima/resources/background.gif  
  151. solr-4.10.0/docs/solr-uima/resources/tab.gif  
  152. solr-4.10.0/docs/solr-uima/resources/titlebar.gif  
  153. solr-4.10.0/docs/solr-uima/resources/titlebar_end.gif  
  154. solr-4.10.0/docs/solr-uima/serialized-form.html  
  155. solr-4.10.0/docs/solr-uima/stylesheet.css  
  156. solr-4.10.0/docs/solr-velocity/allclasses-frame.html  
  157. solr-4.10.0/docs/solr-velocity/allclasses-noframe.html  
  158. solr-4.10.0/docs/solr-velocity/constant-values.html  
  159. solr-4.10.0/docs/solr-velocity/deprecated-list.html  
  160. solr-4.10.0/docs/solr-velocity/help-doc.html  
  161. solr-4.10.0/docs/solr-velocity/index.html  
  162. solr-4.10.0/docs/solr-velocity/org/apache/solr/response/PageTool.html  
  163. solr-4.10.0/docs/solr-velocity/org/apache/solr/response/SolrParamResourceLoader.html  
  164. solr-4.10.0/docs/solr-velocity/org/apache/solr/response/SolrVelocityResourceLoader.html  
  165. solr-4.10.0/docs/solr-velocity/org/apache/solr/response/VelocityResponseWriter.html  
  166. solr-4.10.0/docs/solr-velocity/org/apache/solr/response/class-use/PageTool.html  
  167. solr-4.10.0/docs/solr-velocity/org/apache/solr/response/class-use/SolrParamResourceLoader.html  
  168. solr-4.10.0/docs/solr-velocity/org/apache/solr/response/class-use/SolrVelocityResourceLoader.html  
  169. solr-4.10.0/docs/solr-velocity/org/apache/solr/response/class-use/VelocityResponseWriter.html  
  170. solr-4.10.0/docs/solr-velocity/org/apache/solr/response/package-frame.html  
  171. solr-4.10.0/docs/solr-velocity/org/apache/solr/response/package-summary.html  
  172. solr-4.10.0/docs/solr-velocity/org/apache/solr/response/package-tree.html  
  173. solr-4.10.0/docs/solr-velocity/org/apache/solr/response/package-use.html  
  174. solr-4.10.0/docs/solr-velocity/overview-summary.html  
  175. solr-4.10.0/docs/solr-velocity/overview-tree.html  
  176. solr-4.10.0/docs/solr-velocity/package-list  
  177. solr-4.10.0/docs/solr-velocity/prettify.js  
  178. solr-4.10.0/docs/solr-velocity/resources/background.gif  
  179. solr-4.10.0/docs/solr-velocity/resources/tab.gif  
  180. solr-4.10.0/docs/solr-velocity/resources/titlebar.gif  
  181. solr-4.10.0/docs/solr-velocity/resources/titlebar_end.gif  
  182. solr-4.10.0/docs/solr-velocity/stylesheet.css  
  183. solr-4.10.0/docs/solr.png  
  184. solr-4.10.0/docs/tutorial.html  
  185. 解压完毕  
  186. 存在/root/search/solr路径,准备移除  
  187. 移除完毕!  
  188. 拷贝文件到新的安装路径/root/search/solr  
  189. 拷贝contrib文件/root/search/  
  190. 拷贝dist文件到/root/search/下  
  191. 拷贝完毕,开启启动solr服务  
  192. 0    [main] INFO  org.eclipse.jetty.server.Server  – jetty-8.1.10.v20130312  
  193. 28   [main] INFO  org.eclipse.jetty.deploy.providers.ScanningAppProvider  – Deployment monitor /root/search/solr/contexts at interval 0  
  194. 36   [main] INFO  org.eclipse.jetty.deploy.DeploymentManager  – Deployable added: /root/search/solr/contexts/solr-jetty-context.xml  
  195. 96   [main] INFO  org.eclipse.jetty.webapp.WebInfConfiguration  – Extract jar:file:/root/search/solr/webapps/solr.war!/ to /root/search/solr/solr-webapp/webapp  
  196. 1923 [main] INFO  org.eclipse.jetty.webapp.StandardDescriptorProcessor  – NO JSP Support for /solr, did not find org.apache.jasper.servlet.JspServlet  
  197. 2001 [main] INFO  org.apache.solr.servlet.SolrDispatchFilter  – SolrDispatchFilter.init()  
  198. 2036 [main] INFO  org.apache.solr.core.SolrResourceLoader  – JNDI not configured for solr (NoInitialContextEx)  
  199. 2036 [main] INFO  org.apache.solr.core.SolrResourceLoader  – solr home defaulted to 'solr/' (could not find system property or JNDI)  
  200. 2040 [main] INFO  org.apache.solr.core.SolrResourceLoader  – new SolrResourceLoader for directory: 'solr/'  
  201. 2248 [main] INFO  org.apache.solr.core.ConfigSolr  – Loading container configuration from /root/search/solr/solr/solr.xml  
  202. 2405 [main] INFO  org.apache.solr.core.CoresLocator  – Config-defined core root directory: /root/search/solr/solr  
  203. 2413 [main] INFO  org.apache.solr.core.CoreContainer  – New CoreContainer 2033211346  
  204. 2414 [main] INFO  org.apache.solr.core.CoreContainer  – Loading cores into CoreContainer [instanceDir=solr/]  
  205. 2426 [main] INFO  org.apache.solr.handler.component.HttpShardHandlerFactory  – Setting socketTimeout to: 0  
  206. 2426 [main] INFO  org.apache.solr.handler.component.HttpShardHandlerFactory  – Setting urlScheme to: null  
  207. 2431 [main] INFO  org.apache.solr.handler.component.HttpShardHandlerFactory  – Setting connTimeout to: 0  
  208. 2433 [main] INFO  org.apache.solr.handler.component.HttpShardHandlerFactory  – Setting maxConnectionsPerHost to: 20  
  209. 2433 [main] INFO  org.apache.solr.handler.component.HttpShardHandlerFactory  – Setting corePoolSize to: 0  
  210. 2433 [main] INFO  org.apache.solr.handler.component.HttpShardHandlerFactory  – Setting maximumPoolSize to: 2147483647  
  211. 2434 [main] INFO  org.apache.solr.handler.component.HttpShardHandlerFactory  – Setting maxThreadIdleTime to: 5  
  212. 2434 [main] INFO  org.apache.solr.handler.component.HttpShardHandlerFactory  – Setting sizeOfQueue to: -1  
  213. 2434 [main] INFO  org.apache.solr.handler.component.HttpShardHandlerFactory  – Setting fairnessPolicy to: false  
  214. 2572 [main] INFO  org.apache.solr.update.UpdateShardHandler  – Creating UpdateShardHandler HTTP client with params: socketTimeout=0&connTimeout=0&retry=false  
  215. 2574 [main] INFO  org.apache.solr.logging.LogWatcher  – SLF4J impl is org.slf4j.impl.Log4jLoggerFactory  
  216. 2575 [main] INFO  org.apache.solr.logging.LogWatcher  – Registering Log Listener [Log4j (org.slf4j.impl.Log4jLoggerFactory)]  
  217. 2577 [main] INFO  org.apache.solr.core.CoreContainer  – Host Name:   
  218. 2612 [main] INFO  org.apache.solr.core.CoresLocator  – Looking for core definitions underneath /root/search/solr/solr  
  219. 2619 [main] INFO  org.apache.solr.core.CoresLocator  – Found core collection1 in /root/search/solr/solr/collection1/  
  220. 2620 [main] INFO  org.apache.solr.core.CoresLocator  – Found 1 core definitions  
  221. 2622 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – new SolrResourceLoader for directory: '/root/search/solr/solr/collection1/'  
  222. 2734 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrConfig  – Adding specified lib dirs to ClassLoader  
  223. 2736 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/commons-compress-1.7.jar' to classloader  
  224. 2737 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/pdfbox-1.8.4.jar' to classloader  
  225. 2737 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/xz-1.4.jar' to classloader  
  226. 2737 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/tika-parsers-1.5.jar' to classloader  
  227. 2737 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/isoparser-1.0-RC-1.jar' to classloader  
  228. 2737 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/jdom-1.0.jar' to classloader  
  229. 2738 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/poi-3.10.1.jar' to classloader  
  230. 2738 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/vorbis-java-tika-0.1.jar' to classloader  
  231. 2743 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/icu4j-53.1.jar' to classloader  
  232. 2743 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/boilerpipe-1.1.0.jar' to classloader  
  233. 2743 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/jempbox-1.8.4.jar' to classloader  
  234. 2743 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/apache-mime4j-dom-0.7.2.jar' to classloader  
  235. 2743 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/dom4j-1.6.1.jar' to classloader  
  236. 2744 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/poi-scratchpad-3.10.1.jar' to classloader  
  237. 2744 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/metadata-extractor-2.6.2.jar' to classloader  
  238. 2744 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/aspectjrt-1.6.11.jar' to classloader  
  239. 2748 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/netcdf-4.2-min.jar' to classloader  
  240. 2748 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/tika-core-1.5.jar' to classloader  
  241. 2748 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/xmlbeans-2.6.0.jar' to classloader  
  242. 2748 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/rome-0.9.jar' to classloader  
  243. 2749 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/poi-ooxml-schemas-3.10.1.jar' to classloader  
  244. 2749 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/apache-mime4j-core-0.7.2.jar' to classloader  
  245. 2749 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/juniversalchardet-1.0.3.jar' to classloader  
  246. 2749 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/xmpcore-5.1.2.jar' to classloader  
  247. 2750 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/jhighlight-1.0.jar' to classloader  
  248. 2750 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/bcprov-jdk15-1.45.jar' to classloader  
  249. 2750 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/xercesImpl-2.9.1.jar' to classloader  
  250. 2750 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/fontbox-1.8.4.jar' to classloader  
  251. 2750 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/bcmail-jdk15-1.45.jar' to classloader  
  252. 2751 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/poi-ooxml-3.10.1.jar' to classloader  
  253. 2751 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/tika-xmp-1.5.jar' to classloader  
  254. 2751 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/tagsoup-1.2.1.jar' to classloader  
  255. 2751 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/extraction/lib/vorbis-java-core-0.1.jar' to classloader  
  256. 2756 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/dist/solr-cell-4.10.0.jar' to classloader  
  257. 2760 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/clustering/lib/simple-xml-2.7.jar' to classloader  
  258. 2760 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/clustering/lib/mahout-math-0.6.jar' to classloader  
  259. 2760 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/clustering/lib/jackson-mapper-asl-1.9.13.jar' to classloader  
  260. 2760 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/clustering/lib/attributes-binder-1.2.1.jar' to classloader  
  261. 2761 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/clustering/lib/hppc-0.5.2.jar' to classloader  
  262. 2761 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/clustering/lib/jackson-core-asl-1.9.13.jar' to classloader  
  263. 2761 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/clustering/lib/carrot2-mini-3.9.0.jar' to classloader  
  264. 2761 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/clustering/lib/mahout-collections-1.0.jar' to classloader  
  265. 2762 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/dist/solr-clustering-4.10.0.jar' to classloader  
  266. 2763 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/langid/lib/langdetect-1.1-20120112.jar' to classloader  
  267. 2763 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/langid/lib/jsonic-1.2.7.jar' to classloader  
  268. 2764 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/dist/solr-langid-4.10.0.jar' to classloader  
  269. 2765 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/velocity/lib/commons-beanutils-1.8.3.jar' to classloader  
  270. 2765 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/velocity/lib/velocity-tools-2.0.jar' to classloader  
  271. 2765 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/velocity/lib/commons-collections-3.2.1.jar' to classloader  
  272. 2766 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/contrib/velocity/lib/velocity-1.7.jar' to classloader  
  273. 2766 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrResourceLoader  – Adding 'file:/root/search/dist/solr-velocity-4.10.0.jar' to classloader  
  274. 3045 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.update.SolrIndexConfig  – IndexWriter infoStream solr logging is enabled  
  275. 3054 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrConfig  – Using Lucene MatchVersion: 4.10.0  
  276. 3346 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.Config  – Loaded SolrConfig: solrconfig.xml  
  277. 3357 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.schema.IndexSchema  – Reading Solr Schema from schema.xml  
  278. 3490 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.schema.IndexSchema  – [collection1] Schema name=example  
  279. 4263 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.schema.IndexSchema  – unique key field: id  
  280. 4281 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.rest.RestManager  – Registered ManagedResource impl org.apache.solr.rest.schema.analysis.ManagedWordSetResource for path /schema/analysis/stopwords/english  
  281. 4281 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.rest.RestManager  – Registered ManagedResource impl org.apache.solr.rest.schema.analysis.ManagedSynonymFilterFactory$SynonymManager for path /schema/analysis/synonyms/english  
  282. 4348 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.schema.FileExchangeRateProvider  – Reloading exchange rates from file currency.xml  
  283. 4363 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.schema.FileExchangeRateProvider  – Reloading exchange rates from file currency.xml  
  284. 4540 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.CoreContainer  – Creating SolrCore 'collection1' using configuration from instancedir /root/search/solr/solr/collection1/  
  285. 4556 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrCore  – solr.NRTCachingDirectoryFactory  
  286. 4563 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrCore  – [collection1] Opening new SolrCore at /root/search/solr/solr/collection1/, dataDir=/root/search/solr/solr/collection1/data/  
  287. 4564 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.JmxMonitoredMap  – No JMX servers found, not exposing Solr information with JMX.  
  288. 4568 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrCore  – [collection1] Added SolrEventListener for newSearcher: org.apache.solr.core.QuerySenderListener{queries=[]}  
  289. 4569 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrCore  – [collection1] Added SolrEventListener for firstSearcher: org.apache.solr.core.QuerySenderListener{queries=[{q=static firstSearcher warming in solrconfig.xml}]}  
  290. 4584 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.CachingDirectoryFactory  – return new directory for /root/search/solr/solr/collection1/data  
  291. 4587 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrCore  – New index directory detected: old=null new=/root/search/solr/solr/collection1/data/index/  
  292. 4587 [coreLoadExecutor-5-thread-1] WARN  org.apache.solr.core.SolrCore  – [collection1] Solr index directory '/root/search/solr/solr/collection1/data/index' doesn't exist. Creating new index...  
  293. 4594 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.CachingDirectoryFactory  – return new directory for /root/search/solr/solr/collection1/data/index  
  294. 4649 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrCore  – SolrDeletionPolicy.onCommit: commits: num=1  
  295.         commit{dir=NRTCachingDirectory(MMapDirectory@/root/search/solr/solr/collection1/data/index lockFactory=NativeFSLockFactory@/root/search/solr/solr/collection1/data/index; maxCacheMB=48.0 maxMergeSizeMB=4.0),segFN=segments_1,generation=1}  
  296. 4650 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrCore  – newest commit generation = 1  
  297. 4653 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrCore  – created json: solr.JSONResponseWriter  
  298. 4654 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrCore  – adding lazy queryResponseWriter: solr.VelocityResponseWriter  
  299. 4654 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrCore  – created velocity: solr.VelocityResponseWriter  
  300. 4657 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrCore  – created xslt: solr.XSLTResponseWriter  
  301. 4658 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.response.XSLTResponseWriter  – xsltCacheLifetimeSeconds=5  
  302. 4798 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrCore  – no updateRequestProcessorChain defined as default, creating implicit default  
  303. 4807 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.RequestHandlers  – created /update: org.apache.solr.handler.UpdateRequestHandler  
  304. 4807 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.RequestHandlers  – created /update/json: org.apache.solr.handler.UpdateRequestHandler  
  305. 4808 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.RequestHandlers  – created /update/csv: org.apache.solr.handler.UpdateRequestHandler  
  306. 4809 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.RequestHandlers  – created /update/json/docs: org.apache.solr.handler.UpdateRequestHandler  
  307. 4814 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.RequestHandlers  – created /select: solr.SearchHandler  
  308. 4814 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.RequestHandlers  – created /query: solr.SearchHandler  
  309. 4816 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.RequestHandlers  – created /get: solr.RealTimeGetHandler  
  310. 4816 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.RequestHandlers  – created /export: solr.SearchHandler  
  311. 4817 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.RequestHandlers  – created /browse: solr.SearchHandler  
  312. 4818 [coreLoadExecutor-5-thread-1] WARN  org.apache.solr.core.RequestHandlers  – Multiple requestHandler registered to the same name: /update ignoring: org.apache.solr.handler.UpdateRequestHandler  
  313. 4819 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.RequestHandlers  – created /update: solr.UpdateRequestHandler  
  314. 4819 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.RequestHandlers  – adding lazy requestHandler: solr.extraction.ExtractingRequestHandler  
  315. 4819 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.RequestHandlers  – created /update/extract: solr.extraction.ExtractingRequestHandler  
  316. 4820 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.RequestHandlers  – adding lazy requestHandler: solr.FieldAnalysisRequestHandler  
  317. 4820 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.RequestHandlers  – created /analysis/field: solr.FieldAnalysisRequestHandler  
  318. 4821 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.RequestHandlers  – adding lazy requestHandler: solr.DocumentAnalysisRequestHandler  
  319. 4821 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.RequestHandlers  – created /analysis/document: solr.DocumentAnalysisRequestHandler  
  320. 4823 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.RequestHandlers  – created /admin/: solr.admin.AdminHandlers  
  321. 4825 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.RequestHandlers  – created /admin/ping: solr.PingRequestHandler  
  322. 4827 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.RequestHandlers  – created /debug/dump: solr.DumpRequestHandler  
  323. 4835 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.RequestHandlers  – created /replication: solr.ReplicationHandler  
  324. 4835 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.RequestHandlers  – adding lazy requestHandler: solr.SearchHandler  
  325. 4835 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.RequestHandlers  – created /spell: solr.SearchHandler  
  326. 4835 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.RequestHandlers  – adding lazy requestHandler: solr.SearchHandler  
  327. 4836 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.RequestHandlers  – created /suggest: solr.SearchHandler  
  328. 4836 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.RequestHandlers  – adding lazy requestHandler: solr.SearchHandler  
  329. 4836 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.RequestHandlers  – created /tvrh: solr.SearchHandler  
  330. 4836 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.RequestHandlers  – adding lazy requestHandler: solr.SearchHandler  
  331. 4836 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.RequestHandlers  – created /terms: solr.SearchHandler  
  332. 4836 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.RequestHandlers  – adding lazy requestHandler: solr.SearchHandler  
  333. 4837 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.RequestHandlers  – created /elevate: solr.SearchHandler  
  334. 4852 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.handler.loader.XMLLoader  – xsltCacheLifetimeSeconds=60  
  335. 4858 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.handler.loader.XMLLoader  – xsltCacheLifetimeSeconds=60  
  336. 4858 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.handler.loader.XMLLoader  – xsltCacheLifetimeSeconds=60  
  337. 4859 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.handler.loader.XMLLoader  – xsltCacheLifetimeSeconds=60  
  338. 4860 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.handler.loader.XMLLoader  – xsltCacheLifetimeSeconds=60  
  339. 4875 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrCore  – Hard AutoCommit: if uncommited for 15000ms;   
  340. 4875 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrCore  – Soft AutoCommit: disabled  
  341. 4881 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrCore  – SolrDeletionPolicy.onInit: commits: num=1  
  342.         commit{dir=NRTCachingDirectory(MMapDirectory@/root/search/solr/solr/collection1/data/index lockFactory=NativeFSLockFactory@/root/search/solr/solr/collection1/data/index; maxCacheMB=48.0 maxMergeSizeMB=4.0),segFN=segments_1,generation=1}  
  343. 4881 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.SolrCore  – newest commit generation = 1  
  344. 4887 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.search.SolrIndexSearcher  – Opening Searcher@537d147e[collection1] main  
  345. 4893 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.rest.ManagedResourceStorage  – File-based storage initialized to use dir: /root/search/solr/solr/collection1/conf  
  346. 4893 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.rest.RestManager  – Initializing RestManager with initArgs: {storageDir=/root/search/solr/solr/collection1/conf}  
  347. 4894 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.rest.ManagedResourceStorage  – Reading _rest_managed.json using file:dir=/root/search/solr/solr/collection1/conf  
  348. 4899 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.rest.ManagedResourceStorage  – Loaded LinkedHashMap at path _rest_managed.json using file:dir=/root/search/solr/solr/collection1/conf  
  349. 4899 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.rest.ManagedResource  – Loaded initArgs {} for /rest/managed  
  350. 4900 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.rest.RestManager  – Initializing 2 registered ManagedResources  
  351. 4900 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.rest.ManagedResourceStorage  – Reading _schema_analysis_stopwords_english.json using file:dir=/root/search/solr/solr/collection1/conf  
  352. 4902 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.rest.ManagedResourceStorage  – Loaded LinkedHashMap at path _schema_analysis_stopwords_english.json using file:dir=/root/search/solr/solr/collection1/conf  
  353. 4902 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.rest.ManagedResource  – Loaded initArgs {ignoreCase=truefor /schema/analysis/stopwords/english  
  354. 4903 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.rest.ManagedResource  – Loaded 35 words for /schema/analysis/stopwords/english  
  355. 4903 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.rest.ManagedResource  – Notified 1 observers of /schema/analysis/stopwords/english  
  356. 4903 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.rest.ManagedResourceStorage  – Reading _schema_analysis_synonyms_english.json using file:dir=/root/search/solr/solr/collection1/conf  
  357. 4904 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.rest.ManagedResourceStorage  – Loaded LinkedHashMap at path _schema_analysis_synonyms_english.json using file:dir=/root/search/solr/solr/collection1/conf  
  358. 4904 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.rest.ManagedResource  – Loaded initArgs {ignoreCase=true,format=solr} for /schema/analysis/synonyms/english  
  359. 4905 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.rest.ManagedResource  – Loaded 3 synonym mappings for /schema/analysis/synonyms/english  
  360. 4907 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.rest.ManagedResource  – Notified 1 observers of /schema/analysis/synonyms/english  
  361. 4907 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.handler.component.SpellCheckComponent  – Initializing spell checkers  
  362. 4913 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.spelling.DirectSolrSpellChecker  – init: {name=default,field=text,classname=solr.DirectSolrSpellChecker,distanceMeasure=internal,accuracy=0.5,maxEdits=2,minPrefix=1,maxInspections=5,minQueryLength=4,maxQueryFrequency=0.01}  
  363. 4924 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.handler.component.SpellCheckComponent  – No queryConverter defined, using default converter  
  364. 4925 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.handler.component.SuggestComponent  – Initializing SuggestComponent  
  365. 4927 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.spelling.suggest.SolrSuggester  – init: {name=mySuggester,lookupImpl=FuzzyLookupFactory,dictionaryImpl=DocumentDictionaryFactory,field=cat,weightField=price,suggestAnalyzerFieldType=string}  
  366. 4941 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.spelling.suggest.SolrSuggester  – Dictionary loaded with params: {name=mySuggester,lookupImpl=FuzzyLookupFactory,dictionaryImpl=DocumentDictionaryFactory,field=cat,weightField=price,suggestAnalyzerFieldType=string}  
  367. 4943 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.handler.component.QueryElevationComponent  – Loading QueryElevation from: /root/search/solr/solr/collection1/conf/elevate.xml  
  368. 4971 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.handler.ReplicationHandler  – Commits will be reserved for  10000  
  369. 4972 [searcherExecutor-6-thread-1] INFO  org.apache.solr.core.SolrCore  – QuerySenderListener sending requests to Searcher@537d147e[collection1] main{StandardDirectoryReader(segments_1:1:nrt)}  
  370. 4981 [coreLoadExecutor-5-thread-1] INFO  org.apache.solr.core.CoreContainer  – registering core: collection1  
  371. 4988 [main] INFO  org.apache.solr.servlet.SolrDispatchFilter  – user.dir=/root/search/solr  
  372. 4989 [main] INFO  org.apache.solr.servlet.SolrDispatchFilter  – SolrDispatchFilter.init() done  
  373. 5070 [main] INFO  org.eclipse.jetty.server.AbstractConnector  – Started SocketConnector@0.0.0.0:8983  
  374. 5076 [searcherExecutor-6-thread-1] INFO  org.apache.solr.core.SolrCore  – [collection1] webapp=null path=null params={event=firstSearcher&q=static+firstSearcher+warming+in+solrconfig.xml&distrib=false} hits=0 status=0 QTime=103   
  375. 5077 [searcherExecutor-6-thread-1] INFO  org.apache.solr.core.SolrCore  – QuerySenderListener done.  
  376. 5080 [searcherExecutor-6-thread-1] INFO  org.apache.solr.handler.component.SpellCheckComponent  – Loading spell index for spellchecker: default  
  377. 5084 [searcherExecutor-6-thread-1] INFO  org.apache.solr.handler.component.SpellCheckComponent  – Loading spell index for spellchecker: wordbreak  
  378. 5084 [searcherExecutor-6-thread-1] INFO  org.apache.solr.handler.component.SuggestComponent  – Loading suggester index for: mySuggester  
  379. 5084 [searcherExecutor-6-thread-1] INFO  org.apache.solr.spelling.suggest.SolrSuggester  – reload()  
  380. 5085 [searcherExecutor-6-thread-1] INFO  org.apache.solr.spelling.suggest.SolrSuggester  – build()  
  381. 5097 [searcherExecutor-6-thread-1] INFO  org.apache.solr.core.SolrCore  – [collection1] Registered new searcher Searcher@537d147e[collection1] main{StandardDirectoryReader(segments_1:1:nrt)}  


便于大家看过程,日志贴的比较详细,然后我们在web页面上访问: 
http//ip地址:8983/solr查看是否安装启动成功! 

shell脚本一键安装solr4.10.0_第1张图片

如果觉得输出太多,我们可以以后台方式运行: 
Shell代码   收藏代码
  1. nohup sh solr.sh &  2>err.our   
  2.   
  3. echo $!"   $$" >> pid  



最后我们看下关闭solr服务的脚本: 
Java代码   收藏代码
  1. [root@ganglia ~]# cat stop.sh   
  2.   
  3.   
  4.   
  5.  pid=`ps -ef  | grep start.jar  | gawk '{print $2}' | head -n 1`  
  6.   
  7. echo "获取solr进程的pid号: $pid"  
  8.   
  9.   
  10. kill -9 $pid  
  11. sleep 2  
  12.   
  13. echo "停掉solr服务完毕!"  
  14.   
  15.     
  16.   
  17. while read pid  
  18.   
  19. #do  
  20.   
  21. # kill -9 $pid  
  22.   
  23. #done  
  24. [root@ganglia ~]#   



散仙在这里为了演示方便,是把安装和启动放在一起了,在真正应用时,建议分开2个脚本,因为安装可能只需要一次,而启动和关闭则可能需要很多次,所以建议分开来写和执行.


转自http://qindongliang.iteye.com/blog/2113825

你可能感兴趣的:(solr)