上篇博客中,散仙写了关于在shell中,如何一键安装ant和maven,本篇博客我们来看下如何使用shell脚本一键安装solr,并启动!
solr最新的压缩包:
1,在/root根目录下下载有solr的压缩包,散仙本次的例子是是solr最新的版本
2,在shell脚本里面需要提前配置压缩包的安装路径,和解压缩后的文件名
3,使用默认的jetty作为服务器启动的solr
4,安装完毕后会直接启动solr,我们可以去web页面查看是否安装成功
安装的脚本如下:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
| 1
2#解压路径
3path="/root/search/"
4
5#压缩包名字
6name="solr-4.10.0.tgz"
7
8#从压缩里解压后的名字
9aname="solr-4.10.0"
10
11
12if [ ! -e $path ] ; then
13echo "不存在$path^L路径,自动创建"
14mkdir $path
15
16sleep 1
17fi
18
19
20#解压solr压缩包到指定路径下
21tar -zxvf $name -C $path
22
23echo "解压完毕"
24sleep 2
25
26
27#安装路径
28apath=$path"solr"
29
30if [ -e $apath ] ; then
31echo "存在$apath路径,准备移除"
32rm -rf $apath
33sleep 2
34
35echo "移除完毕!"
36
37fi
38
39mkdir $apath
40
41echo "拷贝文件到新的安装路径$apath"
42
43#拷贝exmpale下的所有文件到安装路径下
44cp -a $path$aname'/example/'* $apath
45
46echo "拷贝contrib文件$path"
47cp -a $path$aname"/contrib" $path
48sleep 2
49echo "拷贝dist文件到$path下"
50sleep 2
51cp -a $path$aname"/dist" $path
52
53
54echo "拷贝完毕,开启启动solr服务"
55
56cd $apath
57
58java -jar start.jar
59
60 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382
| 1 framework/org/apache/solr/SolrTestCaseJ4.IValsPercent.html
2solr-4.10.0/docs/solr-test-framework/org/apache/solr/SolrTestCaseJ4.SVal.html
3solr-4.10.0/docs/solr-test-framework/org/apache/solr/SolrTestCaseJ4.SuppressSSL.html
4solr-4.10.0/docs/solr-test-framework/org/apache/solr/SolrTestCaseJ4.Vals.html
5solr-4.10.0/docs/solr-test-framework/org/apache/solr/SolrTestCaseJ4.XmlDoc.html
6solr-4.10.0/docs/solr-test-framework/org/apache/solr/SolrTestCaseJ4.html
7solr-4.10.0/docs/solr-test-framework/org/apache/solr/analysis/MockCharFilterFactory.html
8solr-4.10.0/docs/solr-test-framework/org/apache/solr/analysis/MockTokenFilterFactory.html
9solr-4.10.0/docs/solr-test-framework/org/apache/solr/analysis/MockTokenizerFactory.html
10solr-4.10.0/docs/solr-test-framework/org/apache/solr/analysis/class-use/MockCharFilterFactory.html
11solr-4.10.0/docs/solr-test-framework/org/apache/solr/analysis/class-use/MockTokenFilterFactory.html
12solr-4.10.0/docs/solr-test-framework/org/apache/solr/analysis/class-use/MockTokenizerFactory.html
13solr-4.10.0/docs/solr-test-framework/org/apache/solr/analysis/package-frame.html
14solr-4.10.0/docs/solr-test-framework/org/apache/solr/analysis/package-summary.html
15solr-4.10.0/docs/solr-test-framework/org/apache/solr/analysis/package-tree.html
16solr-4.10.0/docs/solr-test-framework/org/apache/solr/analysis/package-use.html
17solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/BaseDistributedSearchTestCase.RandDate.html
18solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/BaseDistributedSearchTestCase.RandVal.html
19solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/BaseDistributedSearchTestCase.html
20solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/JSONTestUtil.html
21solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrIgnoredThreadsFilter.html
22solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrJettyTestBase.html
23solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.CoreDescriptorBuilder.html
24solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.Doc.html
25solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.FVal.html
26solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.Fld.html
27solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.FldType.html
28solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.IRange.html
29solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.IVals.html
30solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.IValsPercent.html
31solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.SVal.html
32solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.SuppressSSL.html
33solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.Vals.html
34solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.XmlDoc.html
35solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.html
36solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/AbstractDistribZkTestBase.html
37solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/AbstractFullDistribZkTestBase.CloudJettyRunner.html
38solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/AbstractFullDistribZkTestBase.html
39solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/AbstractZkTestCase.html
40solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/ChaosMonkey.html
41solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/CloudInspectUtil.html
42solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/IpTables.html
43solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/MiniSolrCloudCluster.html
44solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/MockSolrZkClient.html
45solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/MockZkStateReader.html
46solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/StopableIndexingThread.html
47solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/ZkTestServer.HostPort.html
48solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/ZkTestServer.html
49solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/AbstractDistribZkTestBase.html
50solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/AbstractFullDistribZkTestBase.CloudJettyRunner.html
51solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/AbstractFullDistribZkTestBase.html
52solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/AbstractZkTestCase.html
53solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/ChaosMonkey.html
54solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/CloudInspectUtil.html
55solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/IpTables.html
56solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/MiniSolrCloudCluster.html
57solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/MockSolrZkClient.html
58solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/MockZkStateReader.html
59solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/StopableIndexingThread.html
60solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/ZkTestServer.HostPort.html
61solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/ZkTestServer.html
62solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/package-frame.html
63solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/package-summary.html
64solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/package-tree.html
65solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/package-use.html
66solr-4.10.0/docs/solr-test-framework/org/apache/solr/core/AbstractBadConfigTestBase.html
67solr-4.10.0/docs/solr-test-framework/org/apache/solr/core/MockDirectoryFactory.html
68solr-4.10.0/docs/solr-test-framework/org/apache/solr/core/MockFSDirectoryFactory.html
69solr-4.10.0/docs/solr-test-framework/org/apache/solr/core/class-use/AbstractBadConfigTestBase.html
70solr-4.10.0/docs/solr-test-framework/org/apache/solr/core/class-use/MockDirectoryFactory.html
71solr-4.10.0/docs/solr-test-framework/org/apache/solr/core/class-use/MockFSDirectoryFactory.html
72solr-4.10.0/docs/solr-test-framework/org/apache/solr/core/package-frame.html
73solr-4.10.0/docs/solr-test-framework/org/apache/solr/core/package-summary.html
74solr-4.10.0/docs/solr-test-framework/org/apache/solr/core/package-tree.html
75solr-4.10.0/docs/solr-test-framework/org/apache/solr/core/package-use.html
76solr-4.10.0/docs/solr-test-framework/org/apache/solr/package-frame.html
77solr-4.10.0/docs/solr-test-framework/org/apache/solr/package-summary.html
78solr-4.10.0/docs/solr-test-framework/org/apache/solr/package-tree.html
79solr-4.10.0/docs/solr-test-framework/org/apache/solr/package-use.html
80solr-4.10.0/docs/solr-test-framework/org/apache/solr/update/processor/BufferingRequestProcessor.html
81solr-4.10.0/docs/solr-test-framework/org/apache/solr/update/processor/class-use/BufferingRequestProcessor.html
82solr-4.10.0/docs/solr-test-framework/org/apache/solr/update/processor/package-frame.html
83solr-4.10.0/docs/solr-test-framework/org/apache/solr/update/processor/package-summary.html
84solr-4.10.0/docs/solr-test-framework/org/apache/solr/update/processor/package-tree.html
85solr-4.10.0/docs/solr-test-framework/org/apache/solr/update/processor/package-use.html
86solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/AbstractSolrTestCase.html
87solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/BaseTestHarness.html
88solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/DOMUtilTestBase.html
89solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/ExternalPaths.html
90solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/RESTfulServerProvider.html
91solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/RandomMergePolicy.html
92solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/RestTestBase.html
93solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/RestTestHarness.html
94solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/RevertDefaultThreadHandlerRule.html
95solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/SSLTestConfig.html
96solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/TestHarness.LocalRequestFactory.html
97solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/TestHarness.html
98solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/AbstractSolrTestCase.html
99solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/BaseTestHarness.html
100solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/DOMUtilTestBase.html
101solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/ExternalPaths.html
102solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/RESTfulServerProvider.html
103solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/RandomMergePolicy.html
104solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/RestTestBase.html
105solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/RestTestHarness.html
106solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/RevertDefaultThreadHandlerRule.html
107solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/SSLTestConfig.html
108solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/TestHarness.LocalRequestFactory.html
109solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/TestHarness.html
110solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/package-frame.html
111solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/package-summary.html
112solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/package-tree.html
113solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/package-use.html
114solr-4.10.0/docs/solr-test-framework/overview-frame.html
115solr-4.10.0/docs/solr-test-framework/overview-summary.html
116solr-4.10.0/docs/solr-test-framework/overview-tree.html
117solr-4.10.0/docs/solr-test-framework/package-list
118solr-4.10.0/docs/solr-test-framework/prettify.js
119solr-4.10.0/docs/solr-test-framework/resources/background.gif
120solr-4.10.0/docs/solr-test-framework/resources/tab.gif
121solr-4.10.0/docs/solr-test-framework/resources/titlebar.gif
122solr-4.10.0/docs/solr-test-framework/resources/titlebar_end.gif
123solr-4.10.0/docs/solr-test-framework/stylesheet.css
124solr-4.10.0/docs/solr-uima/allclasses-frame.html
125solr-4.10.0/docs/solr-uima/allclasses-noframe.html
126solr-4.10.0/docs/solr-uima/constant-values.html
127solr-4.10.0/docs/solr-uima/deprecated-list.html
128solr-4.10.0/docs/solr-uima/help-doc.html
129solr-4.10.0/docs/solr-uima/index.html
130solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/FieldMappingException.html
131solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/SolrUIMAConfiguration.html
132solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/SolrUIMAConfigurationReader.html
133solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/UIMAToSolrMapper.html
134solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/UIMAUpdateRequestProcessor.html
135solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/UIMAUpdateRequestProcessorFactory.html
136solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/class-use/FieldMappingException.html
137solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/class-use/SolrUIMAConfiguration.html
138solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/class-use/SolrUIMAConfigurationReader.html
139solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/class-use/UIMAToSolrMapper.html
140solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/class-use/UIMAUpdateRequestProcessor.html
141solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/class-use/UIMAUpdateRequestProcessorFactory.html
142solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/package-frame.html
143solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/package-summary.html
144solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/package-tree.html
145solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/package-use.html
146solr-4.10.0/docs/solr-uima/overview-summary.html
147solr-4.10.0/docs/solr-uima/overview-tree.html
148solr-4.10.0/docs/solr-uima/package-list
149solr-4.10.0/docs/solr-uima/prettify.js
150solr-4.10.0/docs/solr-uima/resources/background.gif
151solr-4.10.0/docs/solr-uima/resources/tab.gif
152solr-4.10.0/docs/solr-uima/resources/titlebar.gif
153solr-4.10.0/docs/solr-uima/resources/titlebar_end.gif
154solr-4.10.0/docs/solr-uima/serialized-form.html
155solr-4.10.0/docs/solr-uima/stylesheet.css
156solr-4.10.0/docs/solr-velocity/allclasses-frame.html
157solr-4.10.0/docs/solr-velocity/allclasses-noframe.html
158solr-4.10.0/docs/solr-velocity/constant-values.html
159solr-4.10.0/docs/solr-velocity/deprecated-list.html
160solr-4.10.0/docs/solr-velocity/help-doc.html
161solr-4.10.0/docs/solr-velocity/index.html
162solr-4.10.0/docs/solr-velocity/org/apache/solr/response/PageTool.html
163solr-4.10.0/docs/solr-velocity/org/apache/solr/response/SolrParamResourceLoader.html
164solr-4.10.0/docs/solr-velocity/org/apache/solr/response/SolrVelocityResourceLoader.html
165solr-4.10.0/docs/solr-velocity/org/apache/solr/response/VelocityResponseWriter.html
166solr-4.10.0/docs/solr-velocity/org/apache/solr/response/class-use/PageTool.html
167solr-4.10.0/docs/solr-velocity/org/apache/solr/response/class-use/SolrParamResourceLoader.html
168solr-4.10.0/docs/solr-velocity/org/apache/solr/response/class-use/SolrVelocityResourceLoader.html
169solr-4.10.0/docs/solr-velocity/org/apache/solr/response/class-use/VelocityResponseWriter.html
170solr-4.10.0/docs/solr-velocity/org/apache/solr/response/package-frame.html
171solr-4.10.0/docs/solr-velocity/org/apache/solr/response/package-summary.html
172solr-4.10.0/docs/solr-velocity/org/apache/solr/response/package-tree.html
173solr-4.10.0/docs/solr-velocity/org/apache/solr/response/package-use.html
174solr-4.10.0/docs/solr-velocity/overview-summary.html
175solr-4.10.0/docs/solr-velocity/overview-tree.html
176solr-4.10.0/docs/solr-velocity/package-list
177solr-4.10.0/docs/solr-velocity/prettify.js
178solr-4.10.0/docs/solr-velocity/resources/background.gif
179solr-4.10.0/docs/solr-velocity/resources/tab.gif
180solr-4.10.0/docs/solr-velocity/resources/titlebar.gif
181solr-4.10.0/docs/solr-velocity/resources/titlebar_end.gif
182solr-4.10.0/docs/solr-velocity/stylesheet.css
183solr-4.10.0/docs/solr.png
184solr-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服务
1920 [main] INFO org.eclipse.jetty.server.Server – jetty-8.1.10.v20130312
19328 [main] INFO org.eclipse.jetty.deploy.providers.ScanningAppProvider – Deployment monitor /root/search/solr/contexts at interval 0
19436 [main] INFO org.eclipse.jetty.deploy.DeploymentManager – Deployable added: /root/search/solr/contexts/solr-jetty-context.xml
19596 [main] INFO org.eclipse.jetty.webapp.WebInfConfiguration – Extract jar:file:/root/search/solr/webapps/solr.war!/ to /root/search/solr/solr-webapp/webapp
1961923 [main] INFO org.eclipse.jetty.webapp.StandardDescriptorProcessor – NO JSP Support for /solr, did not find org.apache.jasper.servlet.JspServlet
1972001 [main] INFO org.apache.solr.servlet.SolrDispatchFilter – SolrDispatchFilter.init()
1982036 [main] INFO org.apache.solr.core.SolrResourceLoader – JNDI not configured for solr (NoInitialContextEx)
1992036 [main] INFO org.apache.solr.core.SolrResourceLoader – solr home defaulted to 'solr/' (could not find system property or JNDI)
2002040 [main] INFO org.apache.solr.core.SolrResourceLoader – new SolrResourceLoader for directory: 'solr/'
2012248 [main] INFO org.apache.solr.core.ConfigSolr – Loading container configuration from /root/search/solr/solr/solr.xml
2022405 [main] INFO org.apache.solr.core.CoresLocator – Config-defined core root directory: /root/search/solr/solr
2032413 [main] INFO org.apache.solr.core.CoreContainer – New CoreContainer 2033211346
2042414 [main] INFO org.apache.solr.core.CoreContainer – Loading cores into CoreContainer [instanceDir=solr/]
2052426 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory – Setting socketTimeout to: 0
2062426 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory – Setting urlScheme to: null
2072431 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory – Setting connTimeout to: 0
2082433 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory – Setting maxConnectionsPerHost to: 20
2092433 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory – Setting corePoolSize to: 0
2102433 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory – Setting maximumPoolSize to: 2147483647
2112434 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory – Setting maxThreadIdleTime to: 5
2122434 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory – Setting sizeOfQueue to: -1
2132434 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory – Setting fairnessPolicy to: false
2142572 [main] INFO org.apache.solr.update.UpdateShardHandler – Creating UpdateShardHandler HTTP client with params: socketTimeout=0&connTimeout=0&retry=false
2152574 [main] INFO org.apache.solr.logging.LogWatcher – SLF4J impl is org.slf4j.impl.Log4jLoggerFactory
2162575 [main] INFO org.apache.solr.logging.LogWatcher – Registering Log Listener [Log4j (org.slf4j.impl.Log4jLoggerFactory)]
2172577 [main] INFO org.apache.solr.core.CoreContainer – Host Name:
2182612 [main] INFO org.apache.solr.core.CoresLocator – Looking for core definitions underneath /root/search/solr/solr
2192619 [main] INFO org.apache.solr.core.CoresLocator – Found core collection1 in /root/search/solr/solr/collection1/
2202620 [main] INFO org.apache.solr.core.CoresLocator – Found 1 core definitions
2212622 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – new SolrResourceLoader for directory: '/root/search/solr/solr/collection1/'
2222734 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrConfig – Adding specified lib dirs to ClassLoader
2232736 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/extraction/lib/commons-compress-1.7.jar' to classloader
2242737 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/extraction/lib/pdfbox-1.8.4.jar' to classloader
2252737 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/extraction/lib/xz-1.4.jar' to classloader
2262737 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/extraction/lib/tika-parsers-1.5.jar' to classloader
2272737 [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
2282737 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/extraction/lib/jdom-1.0.jar' to classloader
2292738 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/extraction/lib/poi-3.10.1.jar' to classloader
2302738 [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
2312743 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/extraction/lib/icu4j-53.1.jar' to classloader
2322743 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/extraction/lib/boilerpipe-1.1.0.jar' to classloader
2332743 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/extraction/lib/jempbox-1.8.4.jar' to classloader
2342743 [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
2352743 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/extraction/lib/dom4j-1.6.1.jar' to classloader
2362744 [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
2372744 [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
2382744 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/extraction/lib/aspectjrt-1.6.11.jar' to classloader
2392748 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/extraction/lib/netcdf-4.2-min.jar' to classloader
2402748 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/extraction/lib/tika-core-1.5.jar' to classloader
2412748 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/extraction/lib/xmlbeans-2.6.0.jar' to classloader
2422748 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/extraction/lib/rome-0.9.jar' to classloader
2432749 [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
2442749 [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
2452749 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/extraction/lib/juniversalchardet-1.0.3.jar' to classloader
2462749 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/extraction/lib/xmpcore-5.1.2.jar' to classloader
2472750 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/extraction/lib/jhighlight-1.0.jar' to classloader
2482750 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/extraction/lib/bcprov-jdk15-1.45.jar' to classloader
2492750 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/extraction/lib/xercesImpl-2.9.1.jar' to classloader
2502750 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/extraction/lib/fontbox-1.8.4.jar' to classloader
2512750 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/extraction/lib/bcmail-jdk15-1.45.jar' to classloader
2522751 [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
2532751 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/extraction/lib/tika-xmp-1.5.jar' to classloader
2542751 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/extraction/lib/tagsoup-1.2.1.jar' to classloader
2552751 [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
2562756 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/dist/solr-cell-4.10.0.jar' to classloader
2572760 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/clustering/lib/simple-xml-2.7.jar' to classloader
2582760 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/clustering/lib/mahout-math-0.6.jar' to classloader
2592760 [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
2602760 [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
2612761 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/clustering/lib/hppc-0.5.2.jar' to classloader
2622761 [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
2632761 [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
2642761 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/clustering/lib/mahout-collections-1.0.jar' to classloader
2652762 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/dist/solr-clustering-4.10.0.jar' to classloader
2662763 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/langid/lib/langdetect-1.1-20120112.jar' to classloader
2672763 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/langid/lib/jsonic-1.2.7.jar' to classloader
2682764 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/dist/solr-langid-4.10.0.jar' to classloader
2692765 [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
2702765 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/velocity/lib/velocity-tools-2.0.jar' to classloader
2712765 [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
2722766 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/velocity/lib/velocity-1.7.jar' to classloader
2732766 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/dist/solr-velocity-4.10.0.jar' to classloader
2743045 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.update.SolrIndexConfig – IndexWriter infoStream solr logging is enabled
2753054 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrConfig – Using Lucene MatchVersion: 4.10.0
2763346 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.Config – Loaded SolrConfig: solrconfig.xml
2773357 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.schema.IndexSchema – Reading Solr Schema from schema.xml
2783490 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.schema.IndexSchema – [collection1] Schema name=example
2794263 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.schema.IndexSchema – unique key field: id
2804281 [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
2814281 [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
2824348 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.schema.FileExchangeRateProvider – Reloading exchange rates from file currency.xml
2834363 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.schema.FileExchangeRateProvider – Reloading exchange rates from file currency.xml
2844540 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.CoreContainer – Creating SolrCore 'collection1' using configuration from instancedir /root/search/solr/solr/collection1/
2854556 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore – solr.NRTCachingDirectoryFactory
2864563 [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/
2874564 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.JmxMonitoredMap – No JMX servers found, not exposing Solr information with JMX.
2884568 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore – [collection1] Added SolrEventListener for newSearcher: org.apache.solr.core.QuerySenderListener{queries=[]}
2894569 [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}]}
2904584 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.CachingDirectoryFactory – return new directory for /root/search/solr/solr/collection1/data
2914587 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore – New index directory detected: old=null new=/root/search/solr/solr/collection1/data/index/
2924587 [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...
2934594 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.CachingDirectoryFactory – return new directory for /root/search/solr/solr/collection1/data/index
2944649 [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}
2964650 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore – newest commit generation = 1
2974653 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore – created json: solr.JSONResponseWriter
2984654 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore – adding lazy queryResponseWriter: solr.VelocityResponseWriter
2994654 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore – created velocity: solr.VelocityResponseWriter
3004657 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore – created xslt: solr.XSLTResponseWriter
3014658 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.response.XSLTResponseWriter – xsltCacheLifetimeSeconds=5
3024798 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore – no updateRequestProcessorChain defined as default, creating implicit default
3034807 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /update: org.apache.solr.handler.UpdateRequestHandler
3044807 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /update/json: org.apache.solr.handler.UpdateRequestHandler
3054808 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /update/csv: org.apache.solr.handler.UpdateRequestHandler
3064809 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /update/json/docs: org.apache.solr.handler.UpdateRequestHandler
3074814 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /select: solr.SearchHandler
3084814 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /query: solr.SearchHandler
3094816 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /get: solr.RealTimeGetHandler
3104816 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /export: solr.SearchHandler
3114817 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /browse: solr.SearchHandler
3124818 [coreLoadExecutor-5-thread-1] WARN org.apache.solr.core.RequestHandlers – Multiple requestHandler registered to the same name: /update ignoring: org.apache.solr.handler.UpdateRequestHandler
3134819 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /update: solr.UpdateRequestHandler
3144819 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – adding lazy requestHandler: solr.extraction.ExtractingRequestHandler
3154819 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /update/extract: solr.extraction.ExtractingRequestHandler
3164820 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – adding lazy requestHandler: solr.FieldAnalysisRequestHandler
3174820 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /analysis/field: solr.FieldAnalysisRequestHandler
3184821 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – adding lazy requestHandler: solr.DocumentAnalysisRequestHandler
3194821 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /analysis/document: solr.DocumentAnalysisRequestHandler
3204823 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /admin/: solr.admin.AdminHandlers
3214825 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /admin/ping: solr.PingRequestHandler
3224827 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /debug/dump: solr.DumpRequestHandler
3234835 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /replication: solr.ReplicationHandler
3244835 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – adding lazy requestHandler: solr.SearchHandler
3254835 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /spell: solr.SearchHandler
3264835 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – adding lazy requestHandler: solr.SearchHandler
3274836 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /suggest: solr.SearchHandler
3284836 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – adding lazy requestHandler: solr.SearchHandler
3294836 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /tvrh: solr.SearchHandler
3304836 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – adding lazy requestHandler: solr.SearchHandler
3314836 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /terms: solr.SearchHandler
3324836 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – adding lazy requestHandler: solr.SearchHandler
3334837 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /elevate: solr.SearchHandler
3344852 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.handler.loader.XMLLoader – xsltCacheLifetimeSeconds=60
3354858 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.handler.loader.XMLLoader – xsltCacheLifetimeSeconds=60
3364858 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.handler.loader.XMLLoader – xsltCacheLifetimeSeconds=60
3374859 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.handler.loader.XMLLoader – xsltCacheLifetimeSeconds=60
3384860 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.handler.loader.XMLLoader – xsltCacheLifetimeSeconds=60
3394875 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore – Hard AutoCommit: if uncommited for 15000ms;
3404875 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore – Soft AutoCommit: disabled
3414881 [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}
3434881 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore – newest commit generation = 1
3444887 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.search.SolrIndexSearcher – Opening Searcher@537d147e[collection1] main
3454893 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResourceStorage – File-based storage initialized to use dir: /root/search/solr/solr/collection1/conf
3464893 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.RestManager – Initializing RestManager with initArgs: {storageDir=/root/search/solr/solr/collection1/conf}
3474894 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResourceStorage – Reading _rest_managed.json using file:dir=/root/search/solr/solr/collection1/conf
3484899 [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
3494899 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResource – Loaded initArgs {} for /rest/managed
3504900 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.RestManager – Initializing 2 registered ManagedResources
3514900 [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
3524902 [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
3534902 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResource – Loaded initArgs {ignoreCase=true} for /schema/analysis/stopwords/english
3544903 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResource – Loaded 35 words for /schema/analysis/stopwords/english
3554903 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResource – Notified 1 observers of /schema/analysis/stopwords/english
3564903 [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
3574904 [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
3584904 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResource – Loaded initArgs {ignoreCase=true,format=solr} for /schema/analysis/synonyms/english
3594905 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResource – Loaded 3 synonym mappings for /schema/analysis/synonyms/english
3604907 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResource – Notified 1 observers of /schema/analysis/synonyms/english
3614907 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.handler.component.SpellCheckComponent – Initializing spell checkers
3624913 [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}
3634924 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.handler.component.SpellCheckComponent – No queryConverter defined, using default converter
3644925 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.handler.component.SuggestComponent – Initializing SuggestComponent
3654927 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.spelling.suggest.SolrSuggester – init: {name=mySuggester,lookupImpl=FuzzyLookupFactory,dictionaryImpl=DocumentDictionaryFactory,field=cat,weightField=price,suggestAnalyzerFieldType=string}
3664941 [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}
3674943 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.handler.component.QueryElevationComponent – Loading QueryElevation from: /root/search/solr/solr/collection1/conf/elevate.xml
3684971 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.handler.ReplicationHandler – Commits will be reserved for 10000
3694972 [searcherExecutor-6-thread-1] INFO org.apache.solr.core.SolrCore – QuerySenderListener sending requests to Searcher@537d147e[collection1] main{StandardDirectoryReader(segments_1:1:nrt)}
3704981 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.CoreContainer – registering core: collection1
3714988 [main] INFO org.apache.solr.servlet.SolrDispatchFilter – user.dir=/root/search/solr
3724989 [main] INFO org.apache.solr.servlet.SolrDispatchFilter – SolrDispatchFilter.init() done
3735070 [main] INFO org.eclipse.jetty.server.AbstractConnector – Started SocketConnector@0.0.0.0:8983
3745076 [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
3755077 [searcherExecutor-6-thread-1] INFO org.apache.solr.core.SolrCore – QuerySenderListener done.
3765080 [searcherExecutor-6-thread-1] INFO org.apache.solr.handler.component.SpellCheckComponent – Loading spell index for spellchecker: default
3775084 [searcherExecutor-6-thread-1] INFO org.apache.solr.handler.component.SpellCheckComponent – Loading spell index for spellchecker: wordbreak
3785084 [searcherExecutor-6-thread-1] INFO org.apache.solr.handler.component.SuggestComponent – Loading suggester index for: mySuggester
3795084 [searcherExecutor-6-thread-1] INFO org.apache.solr.spelling.suggest.SolrSuggester – reload()
3805085 [searcherExecutor-6-thread-1] INFO org.apache.solr.spelling.suggest.SolrSuggester – build()
3815097 [searcherExecutor-6-thread-1] INFO org.apache.solr.core.SolrCore – [collection1] Registered new searcher Searcher@537d147e[collection1] main{StandardDirectoryReader(segments_1:1:nrt)}
382 |
1 2
| 1 便于大家看过程,日志贴的比较详细,然后我们在web页面上访问:
2 |
http//ip地址:8983/solr查看是否安装启动成功!
如果觉得输出太多,我们可以以后台方式运行:
1 2 3 4 5 6 7 8
| 1
2
3nohup sh solr.sh & 2>err.our
4
5echo $!" $$" >> pid
6
7
8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
| 1[root@ganglia ~]# cat stop.sh
2
3
4
5 pid=`ps -ef | grep start.jar | gawk '{print $2}' | head -n 1`
6
7echo "获取solr进程的pid号: $pid"
8
9
10kill -9 $pid
11sleep 2
12
13echo "停掉solr服务完毕!"
14
15
16
17# while read pid
18
19#do
20
21# kill -9 $pid
22
23#done
24[root@ganglia ~]#
25 |
1 2
| 1 散仙在这里为了演示方便,是把安装和启动放在一起了,在真正应用时,建议分开2个脚本,因为安装可能只需要一次,而启动和关闭则可能需要很多次,所以建议分开来写和执行.
2 |