- 浏览: 2194758 次
- 性别:
- 来自: 北京
文章分类
- 全部博客 (682)
- 软件思想 (7)
- Lucene(修真篇) (17)
- Lucene(仙界篇) (20)
- Lucene(神界篇) (11)
- Solr (48)
- Hadoop (77)
- Spark (38)
- Hbase (26)
- Hive (19)
- Pig (25)
- ELK (64)
- Zookeeper (12)
- JAVA (119)
- Linux (59)
- 多线程 (8)
- Nutch (5)
- JAVA EE (21)
- Oracle (7)
- Python (32)
- Xml (5)
- Gson (1)
- Cygwin (1)
- JavaScript (4)
- MySQL (9)
- Lucene/Solr(转) (5)
- 缓存 (2)
- Github/Git (1)
- 开源爬虫 (1)
- Hadoop运维 (7)
- shell命令 (9)
- 生活感悟 (42)
- shell编程 (23)
- Scala (11)
- MongoDB (3)
- docker (2)
- Nodejs (3)
- Neo4j (5)
- storm (3)
- opencv (1)
最新评论
-
qindongliang1922:
粟谷_sugu 写道不太理解“分词字段存储docvalue是没 ...
浅谈Lucene中的DocValues -
粟谷_sugu:
不太理解“分词字段存储docvalue是没有意义的”,这句话, ...
浅谈Lucene中的DocValues -
yin_bp:
高性能elasticsearch ORM开发库使用文档http ...
为什么说Elasticsearch搜索是近实时的? -
hackWang:
请问博主,有用solr做电商的搜索项目?
Solr中Group和Facet的用法 -
章司nana:
遇到的问题同楼上 为什么会返回null
Lucene4.3开发之第八步之渡劫初期(八)
上篇博客中,散仙写了关于在shell中,如何一键安装ant和maven,本篇博客我们来看下如何使用shell脚本一键安装solr,并启动!
solr最新的压缩包:
要求如下:
1,在/root根目录下下载有solr的压缩包,散仙本次的例子是是solr最新的版本
2,在shell脚本里面需要提前配置压缩包的安装路径,和解压缩后的文件名
3,使用默认的jetty作为服务器启动的solr
4,安装完毕后会直接启动solr,我们可以去web页面查看是否安装成功
安装的脚本如下:
启动后如下:
便于大家看过程,日志贴的比较详细,然后我们在web页面上访问:
http//ip地址:8983/solr查看是否安装启动成功!
如果觉得输出太多,我们可以以后台方式运行:
最后我们看下关闭solr服务的脚本:
散仙在这里为了演示方便,是把安装和启动放在一起了,在真正应用时,建议分开2个脚本,因为安装可能只需要一次,而启动和关闭则可能需要很多次,所以建议分开来写和执行.
solr最新的压缩包:
solr-4.10.0.tgz
要求如下:
1,在/root根目录下下载有solr的压缩包,散仙本次的例子是是solr最新的版本
2,在shell脚本里面需要提前配置压缩包的安装路径,和解压缩后的文件名
3,使用默认的jetty作为服务器启动的solr
4,安装完毕后会直接启动solr,我们可以去web页面查看是否安装成功
安装的脚本如下:
#解压路径 path="/root/search/" #压缩包名字 name="solr-4.10.0.tgz" #从压缩里解压后的名字 aname="solr-4.10.0" if [ ! -e $path ] ; then echo "不存在$path^L路径,自动创建" mkdir $path sleep 1 fi #解压solr压缩包到指定路径下 tar -zxvf $name -C $path echo "解压完毕" sleep 2 #安装路径 apath=$path"solr" if [ -e $apath ] ; then echo "存在$apath路径,准备移除" rm -rf $apath sleep 2 echo "移除完毕!" fi mkdir $apath echo "拷贝文件到新的安装路径$apath" #拷贝exmpale下的所有文件到安装路径下 cp -a $path$aname'/example/'* $apath echo "拷贝contrib文件$path" cp -a $path$aname"/contrib" $path sleep 2 echo "拷贝dist文件到$path下" sleep 2 cp -a $path$aname"/dist" $path echo "拷贝完毕,开启启动solr服务" cd $apath java -jar start.jar
启动后如下:
framework/org/apache/solr/SolrTestCaseJ4.IValsPercent.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/SolrTestCaseJ4.SVal.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/SolrTestCaseJ4.SuppressSSL.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/SolrTestCaseJ4.Vals.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/SolrTestCaseJ4.XmlDoc.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/SolrTestCaseJ4.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/analysis/MockCharFilterFactory.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/analysis/MockTokenFilterFactory.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/analysis/MockTokenizerFactory.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/analysis/class-use/MockCharFilterFactory.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/analysis/class-use/MockTokenFilterFactory.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/analysis/class-use/MockTokenizerFactory.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/analysis/package-frame.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/analysis/package-summary.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/analysis/package-tree.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/analysis/package-use.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/BaseDistributedSearchTestCase.RandDate.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/BaseDistributedSearchTestCase.RandVal.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/BaseDistributedSearchTestCase.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/JSONTestUtil.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrIgnoredThreadsFilter.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrJettyTestBase.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.CoreDescriptorBuilder.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.Doc.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.FVal.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.Fld.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.FldType.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.IRange.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.IVals.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.IValsPercent.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.SVal.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.SuppressSSL.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.Vals.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.XmlDoc.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/class-use/SolrTestCaseJ4.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/AbstractDistribZkTestBase.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/AbstractFullDistribZkTestBase.CloudJettyRunner.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/AbstractFullDistribZkTestBase.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/AbstractZkTestCase.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/ChaosMonkey.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/CloudInspectUtil.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/IpTables.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/MiniSolrCloudCluster.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/MockSolrZkClient.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/MockZkStateReader.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/StopableIndexingThread.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/ZkTestServer.HostPort.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/ZkTestServer.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/AbstractDistribZkTestBase.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/AbstractFullDistribZkTestBase.CloudJettyRunner.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/AbstractFullDistribZkTestBase.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/AbstractZkTestCase.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/ChaosMonkey.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/CloudInspectUtil.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/IpTables.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/MiniSolrCloudCluster.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/MockSolrZkClient.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/MockZkStateReader.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/StopableIndexingThread.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/ZkTestServer.HostPort.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/class-use/ZkTestServer.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/package-frame.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/package-summary.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/package-tree.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/cloud/package-use.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/core/AbstractBadConfigTestBase.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/core/MockDirectoryFactory.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/core/MockFSDirectoryFactory.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/core/class-use/AbstractBadConfigTestBase.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/core/class-use/MockDirectoryFactory.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/core/class-use/MockFSDirectoryFactory.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/core/package-frame.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/core/package-summary.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/core/package-tree.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/core/package-use.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/package-frame.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/package-summary.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/package-tree.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/package-use.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/update/processor/BufferingRequestProcessor.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/update/processor/class-use/BufferingRequestProcessor.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/update/processor/package-frame.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/update/processor/package-summary.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/update/processor/package-tree.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/update/processor/package-use.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/AbstractSolrTestCase.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/BaseTestHarness.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/DOMUtilTestBase.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/ExternalPaths.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/RESTfulServerProvider.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/RandomMergePolicy.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/RestTestBase.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/RestTestHarness.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/RevertDefaultThreadHandlerRule.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/SSLTestConfig.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/TestHarness.LocalRequestFactory.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/TestHarness.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/AbstractSolrTestCase.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/BaseTestHarness.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/DOMUtilTestBase.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/ExternalPaths.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/RESTfulServerProvider.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/RandomMergePolicy.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/RestTestBase.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/RestTestHarness.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/RevertDefaultThreadHandlerRule.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/SSLTestConfig.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/TestHarness.LocalRequestFactory.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/class-use/TestHarness.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/package-frame.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/package-summary.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/package-tree.html solr-4.10.0/docs/solr-test-framework/org/apache/solr/util/package-use.html solr-4.10.0/docs/solr-test-framework/overview-frame.html solr-4.10.0/docs/solr-test-framework/overview-summary.html solr-4.10.0/docs/solr-test-framework/overview-tree.html solr-4.10.0/docs/solr-test-framework/package-list solr-4.10.0/docs/solr-test-framework/prettify.js solr-4.10.0/docs/solr-test-framework/resources/background.gif solr-4.10.0/docs/solr-test-framework/resources/tab.gif solr-4.10.0/docs/solr-test-framework/resources/titlebar.gif solr-4.10.0/docs/solr-test-framework/resources/titlebar_end.gif solr-4.10.0/docs/solr-test-framework/stylesheet.css solr-4.10.0/docs/solr-uima/allclasses-frame.html solr-4.10.0/docs/solr-uima/allclasses-noframe.html solr-4.10.0/docs/solr-uima/constant-values.html solr-4.10.0/docs/solr-uima/deprecated-list.html solr-4.10.0/docs/solr-uima/help-doc.html solr-4.10.0/docs/solr-uima/index.html solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/FieldMappingException.html solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/SolrUIMAConfiguration.html solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/SolrUIMAConfigurationReader.html solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/UIMAToSolrMapper.html solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/UIMAUpdateRequestProcessor.html solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/UIMAUpdateRequestProcessorFactory.html solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/class-use/FieldMappingException.html solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/class-use/SolrUIMAConfiguration.html solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/class-use/SolrUIMAConfigurationReader.html solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/class-use/UIMAToSolrMapper.html solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/class-use/UIMAUpdateRequestProcessor.html solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/class-use/UIMAUpdateRequestProcessorFactory.html solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/package-frame.html solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/package-summary.html solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/package-tree.html solr-4.10.0/docs/solr-uima/org/apache/solr/uima/processor/package-use.html solr-4.10.0/docs/solr-uima/overview-summary.html solr-4.10.0/docs/solr-uima/overview-tree.html solr-4.10.0/docs/solr-uima/package-list solr-4.10.0/docs/solr-uima/prettify.js solr-4.10.0/docs/solr-uima/resources/background.gif solr-4.10.0/docs/solr-uima/resources/tab.gif solr-4.10.0/docs/solr-uima/resources/titlebar.gif solr-4.10.0/docs/solr-uima/resources/titlebar_end.gif solr-4.10.0/docs/solr-uima/serialized-form.html solr-4.10.0/docs/solr-uima/stylesheet.css solr-4.10.0/docs/solr-velocity/allclasses-frame.html solr-4.10.0/docs/solr-velocity/allclasses-noframe.html solr-4.10.0/docs/solr-velocity/constant-values.html solr-4.10.0/docs/solr-velocity/deprecated-list.html solr-4.10.0/docs/solr-velocity/help-doc.html solr-4.10.0/docs/solr-velocity/index.html solr-4.10.0/docs/solr-velocity/org/apache/solr/response/PageTool.html solr-4.10.0/docs/solr-velocity/org/apache/solr/response/SolrParamResourceLoader.html solr-4.10.0/docs/solr-velocity/org/apache/solr/response/SolrVelocityResourceLoader.html solr-4.10.0/docs/solr-velocity/org/apache/solr/response/VelocityResponseWriter.html solr-4.10.0/docs/solr-velocity/org/apache/solr/response/class-use/PageTool.html solr-4.10.0/docs/solr-velocity/org/apache/solr/response/class-use/SolrParamResourceLoader.html solr-4.10.0/docs/solr-velocity/org/apache/solr/response/class-use/SolrVelocityResourceLoader.html solr-4.10.0/docs/solr-velocity/org/apache/solr/response/class-use/VelocityResponseWriter.html solr-4.10.0/docs/solr-velocity/org/apache/solr/response/package-frame.html solr-4.10.0/docs/solr-velocity/org/apache/solr/response/package-summary.html solr-4.10.0/docs/solr-velocity/org/apache/solr/response/package-tree.html solr-4.10.0/docs/solr-velocity/org/apache/solr/response/package-use.html solr-4.10.0/docs/solr-velocity/overview-summary.html solr-4.10.0/docs/solr-velocity/overview-tree.html solr-4.10.0/docs/solr-velocity/package-list solr-4.10.0/docs/solr-velocity/prettify.js solr-4.10.0/docs/solr-velocity/resources/background.gif solr-4.10.0/docs/solr-velocity/resources/tab.gif solr-4.10.0/docs/solr-velocity/resources/titlebar.gif solr-4.10.0/docs/solr-velocity/resources/titlebar_end.gif solr-4.10.0/docs/solr-velocity/stylesheet.css solr-4.10.0/docs/solr.png solr-4.10.0/docs/tutorial.html 解压完毕 存在/root/search/solr路径,准备移除 移除完毕! 拷贝文件到新的安装路径/root/search/solr 拷贝contrib文件/root/search/ 拷贝dist文件到/root/search/下 拷贝完毕,开启启动solr服务 0 [main] INFO org.eclipse.jetty.server.Server – jetty-8.1.10.v20130312 28 [main] INFO org.eclipse.jetty.deploy.providers.ScanningAppProvider – Deployment monitor /root/search/solr/contexts at interval 0 36 [main] INFO org.eclipse.jetty.deploy.DeploymentManager – Deployable added: /root/search/solr/contexts/solr-jetty-context.xml 96 [main] INFO org.eclipse.jetty.webapp.WebInfConfiguration – Extract jar:file:/root/search/solr/webapps/solr.war!/ to /root/search/solr/solr-webapp/webapp 1923 [main] INFO org.eclipse.jetty.webapp.StandardDescriptorProcessor – NO JSP Support for /solr, did not find org.apache.jasper.servlet.JspServlet 2001 [main] INFO org.apache.solr.servlet.SolrDispatchFilter – SolrDispatchFilter.init() 2036 [main] INFO org.apache.solr.core.SolrResourceLoader – JNDI not configured for solr (NoInitialContextEx) 2036 [main] INFO org.apache.solr.core.SolrResourceLoader – solr home defaulted to 'solr/' (could not find system property or JNDI) 2040 [main] INFO org.apache.solr.core.SolrResourceLoader – new SolrResourceLoader for directory: 'solr/' 2248 [main] INFO org.apache.solr.core.ConfigSolr – Loading container configuration from /root/search/solr/solr/solr.xml 2405 [main] INFO org.apache.solr.core.CoresLocator – Config-defined core root directory: /root/search/solr/solr 2413 [main] INFO org.apache.solr.core.CoreContainer – New CoreContainer 2033211346 2414 [main] INFO org.apache.solr.core.CoreContainer – Loading cores into CoreContainer [instanceDir=solr/] 2426 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory – Setting socketTimeout to: 0 2426 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory – Setting urlScheme to: null 2431 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory – Setting connTimeout to: 0 2433 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory – Setting maxConnectionsPerHost to: 20 2433 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory – Setting corePoolSize to: 0 2433 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory – Setting maximumPoolSize to: 2147483647 2434 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory – Setting maxThreadIdleTime to: 5 2434 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory – Setting sizeOfQueue to: -1 2434 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory – Setting fairnessPolicy to: false 2572 [main] INFO org.apache.solr.update.UpdateShardHandler – Creating UpdateShardHandler HTTP client with params: socketTimeout=0&connTimeout=0&retry=false 2574 [main] INFO org.apache.solr.logging.LogWatcher – SLF4J impl is org.slf4j.impl.Log4jLoggerFactory 2575 [main] INFO org.apache.solr.logging.LogWatcher – Registering Log Listener [Log4j (org.slf4j.impl.Log4jLoggerFactory)] 2577 [main] INFO org.apache.solr.core.CoreContainer – Host Name: 2612 [main] INFO org.apache.solr.core.CoresLocator – Looking for core definitions underneath /root/search/solr/solr 2619 [main] INFO org.apache.solr.core.CoresLocator – Found core collection1 in /root/search/solr/solr/collection1/ 2620 [main] INFO org.apache.solr.core.CoresLocator – Found 1 core definitions 2622 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – new SolrResourceLoader for directory: '/root/search/solr/solr/collection1/' 2734 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrConfig – Adding specified lib dirs to ClassLoader 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 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 2737 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/extraction/lib/xz-1.4.jar' to classloader 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 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 2737 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/extraction/lib/jdom-1.0.jar' to classloader 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 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 2743 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/extraction/lib/icu4j-53.1.jar' to classloader 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 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 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 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 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 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 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 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 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 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 2748 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/extraction/lib/rome-0.9.jar' to classloader 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 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 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 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 2750 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/extraction/lib/jhighlight-1.0.jar' to classloader 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 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 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 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 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 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 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 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 2756 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/dist/solr-cell-4.10.0.jar' to classloader 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 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 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 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 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 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 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 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 2762 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/dist/solr-clustering-4.10.0.jar' to classloader 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 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 2764 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/dist/solr-langid-4.10.0.jar' to classloader 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 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 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 2766 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/contrib/velocity/lib/velocity-1.7.jar' to classloader 2766 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrResourceLoader – Adding 'file:/root/search/dist/solr-velocity-4.10.0.jar' to classloader 3045 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.update.SolrIndexConfig – IndexWriter infoStream solr logging is enabled 3054 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrConfig – Using Lucene MatchVersion: 4.10.0 3346 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.Config – Loaded SolrConfig: solrconfig.xml 3357 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.schema.IndexSchema – Reading Solr Schema from schema.xml 3490 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.schema.IndexSchema – [collection1] Schema name=example 4263 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.schema.IndexSchema – unique key field: id 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 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 4348 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.schema.FileExchangeRateProvider – Reloading exchange rates from file currency.xml 4363 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.schema.FileExchangeRateProvider – Reloading exchange rates from file currency.xml 4540 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.CoreContainer – Creating SolrCore 'collection1' using configuration from instancedir /root/search/solr/solr/collection1/ 4556 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore – solr.NRTCachingDirectoryFactory 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/ 4564 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.JmxMonitoredMap – No JMX servers found, not exposing Solr information with JMX. 4568 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore – [collection1] Added SolrEventListener for newSearcher: org.apache.solr.core.QuerySenderListener{queries=[]} 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}]} 4584 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.CachingDirectoryFactory – return new directory for /root/search/solr/solr/collection1/data 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/ 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... 4594 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.CachingDirectoryFactory – return new directory for /root/search/solr/solr/collection1/data/index 4649 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore – SolrDeletionPolicy.onCommit: commits: num=1 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} 4650 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore – newest commit generation = 1 4653 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore – created json: solr.JSONResponseWriter 4654 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore – adding lazy queryResponseWriter: solr.VelocityResponseWriter 4654 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore – created velocity: solr.VelocityResponseWriter 4657 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore – created xslt: solr.XSLTResponseWriter 4658 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.response.XSLTResponseWriter – xsltCacheLifetimeSeconds=5 4798 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore – no updateRequestProcessorChain defined as default, creating implicit default 4807 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /update: org.apache.solr.handler.UpdateRequestHandler 4807 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /update/json: org.apache.solr.handler.UpdateRequestHandler 4808 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /update/csv: org.apache.solr.handler.UpdateRequestHandler 4809 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /update/json/docs: org.apache.solr.handler.UpdateRequestHandler 4814 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /select: solr.SearchHandler 4814 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /query: solr.SearchHandler 4816 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /get: solr.RealTimeGetHandler 4816 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /export: solr.SearchHandler 4817 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /browse: solr.SearchHandler 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 4819 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /update: solr.UpdateRequestHandler 4819 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – adding lazy requestHandler: solr.extraction.ExtractingRequestHandler 4819 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /update/extract: solr.extraction.ExtractingRequestHandler 4820 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – adding lazy requestHandler: solr.FieldAnalysisRequestHandler 4820 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /analysis/field: solr.FieldAnalysisRequestHandler 4821 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – adding lazy requestHandler: solr.DocumentAnalysisRequestHandler 4821 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /analysis/document: solr.DocumentAnalysisRequestHandler 4823 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /admin/: solr.admin.AdminHandlers 4825 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /admin/ping: solr.PingRequestHandler 4827 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /debug/dump: solr.DumpRequestHandler 4835 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /replication: solr.ReplicationHandler 4835 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – adding lazy requestHandler: solr.SearchHandler 4835 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /spell: solr.SearchHandler 4835 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – adding lazy requestHandler: solr.SearchHandler 4836 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /suggest: solr.SearchHandler 4836 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – adding lazy requestHandler: solr.SearchHandler 4836 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /tvrh: solr.SearchHandler 4836 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – adding lazy requestHandler: solr.SearchHandler 4836 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /terms: solr.SearchHandler 4836 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – adding lazy requestHandler: solr.SearchHandler 4837 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.RequestHandlers – created /elevate: solr.SearchHandler 4852 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.handler.loader.XMLLoader – xsltCacheLifetimeSeconds=60 4858 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.handler.loader.XMLLoader – xsltCacheLifetimeSeconds=60 4858 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.handler.loader.XMLLoader – xsltCacheLifetimeSeconds=60 4859 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.handler.loader.XMLLoader – xsltCacheLifetimeSeconds=60 4860 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.handler.loader.XMLLoader – xsltCacheLifetimeSeconds=60 4875 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore – Hard AutoCommit: if uncommited for 15000ms; 4875 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore – Soft AutoCommit: disabled 4881 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore – SolrDeletionPolicy.onInit: commits: num=1 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} 4881 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore – newest commit generation = 1 4887 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.search.SolrIndexSearcher – Opening Searcher@537d147e[collection1] main 4893 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResourceStorage – File-based storage initialized to use dir: /root/search/solr/solr/collection1/conf 4893 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.RestManager – Initializing RestManager with initArgs: {storageDir=/root/search/solr/solr/collection1/conf} 4894 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResourceStorage – Reading _rest_managed.json using file:dir=/root/search/solr/solr/collection1/conf 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 4899 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResource – Loaded initArgs {} for /rest/managed 4900 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.RestManager – Initializing 2 registered ManagedResources 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 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 4902 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResource – Loaded initArgs {ignoreCase=true} for /schema/analysis/stopwords/english 4903 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResource – Loaded 35 words for /schema/analysis/stopwords/english 4903 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResource – Notified 1 observers of /schema/analysis/stopwords/english 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 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 4904 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResource – Loaded initArgs {ignoreCase=true,format=solr} for /schema/analysis/synonyms/english 4905 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResource – Loaded 3 synonym mappings for /schema/analysis/synonyms/english 4907 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.rest.ManagedResource – Notified 1 observers of /schema/analysis/synonyms/english 4907 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.handler.component.SpellCheckComponent – Initializing spell checkers 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} 4924 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.handler.component.SpellCheckComponent – No queryConverter defined, using default converter 4925 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.handler.component.SuggestComponent – Initializing SuggestComponent 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} 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} 4943 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.handler.component.QueryElevationComponent – Loading QueryElevation from: /root/search/solr/solr/collection1/conf/elevate.xml 4971 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.handler.ReplicationHandler – Commits will be reserved for 10000 4972 [searcherExecutor-6-thread-1] INFO org.apache.solr.core.SolrCore – QuerySenderListener sending requests to Searcher@537d147e[collection1] main{StandardDirectoryReader(segments_1:1:nrt)} 4981 [coreLoadExecutor-5-thread-1] INFO org.apache.solr.core.CoreContainer – registering core: collection1 4988 [main] INFO org.apache.solr.servlet.SolrDispatchFilter – user.dir=/root/search/solr 4989 [main] INFO org.apache.solr.servlet.SolrDispatchFilter – SolrDispatchFilter.init() done 5070 [main] INFO org.eclipse.jetty.server.AbstractConnector – Started SocketConnector@0.0.0.0:8983 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 5077 [searcherExecutor-6-thread-1] INFO org.apache.solr.core.SolrCore – QuerySenderListener done. 5080 [searcherExecutor-6-thread-1] INFO org.apache.solr.handler.component.SpellCheckComponent – Loading spell index for spellchecker: default 5084 [searcherExecutor-6-thread-1] INFO org.apache.solr.handler.component.SpellCheckComponent – Loading spell index for spellchecker: wordbreak 5084 [searcherExecutor-6-thread-1] INFO org.apache.solr.handler.component.SuggestComponent – Loading suggester index for: mySuggester 5084 [searcherExecutor-6-thread-1] INFO org.apache.solr.spelling.suggest.SolrSuggester – reload() 5085 [searcherExecutor-6-thread-1] INFO org.apache.solr.spelling.suggest.SolrSuggester – build() 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查看是否安装启动成功!
如果觉得输出太多,我们可以以后台方式运行:
nohup sh solr.sh & 2>err.our echo $!" $$" >> pid
最后我们看下关闭solr服务的脚本:
[root@ganglia ~]# cat stop.sh pid=`ps -ef | grep start.jar | gawk '{print $2}' | head -n 1` echo "获取solr进程的pid号: $pid" kill -9 $pid sleep 2 echo "停掉solr服务完毕!" # while read pid #do # kill -9 $pid #done [root@ganglia ~]#
散仙在这里为了演示方便,是把安装和启动放在一起了,在真正应用时,建议分开2个脚本,因为安装可能只需要一次,而启动和关闭则可能需要很多次,所以建议分开来写和执行.
发表评论
-
什么是操作系统的虚拟内存?
2019-07-17 10:04 796https://mp.weixin.qq.com/s?__bi ... -
关于Linux进程的基础知识
2018-12-17 15:58 1312### 前言 在计算机里面,一个进程通常指的是一个运行程序的 ... -
小知识之Linux系统中的最大进程数,最大文件描述,最大线程数
2018-01-19 22:16 2043今天来了解一下linux里面的一些小知识: (一)Lin ... -
Nginx配置的一些小功能
2018-01-12 21:28 1539前面的文章,已经介绍 ... -
理解正常代理与反向代理的区别
2017-12-21 09:57 701http://blog.csdn.net/u010454030 ... -
Nginx入门介绍与安装
2017-12-20 21:38 1293### Nginx是什么? Nginx ... -
给centos重新安装yum的base-repo源
2017-12-14 21:06 6252如果自己的centos的系统yum源出现问题了,如何才能修 ... -
如何在centos7上使用shadowsocks配置代理
2016-11-16 16:59 17466作为一名程序员,如 ... -
centos7安装mysql
2016-11-14 16:41 1305centos7的默认yum源已经 ... -
最新版Solr6.2.1安装记录
2016-09-23 18:48 2032下载最新版Solr6.2.1 wget http:/ ... -
ElasticSearch+Solr几个案例笔记
2016-09-22 18:46 1954(一) 最大能索引字符 ... -
SolrCloud之Sharding路由介绍
2016-07-19 16:07 3485在Solr4.4之后,Solr提供了SolrCloud ... -
SolrCloud6.1.0之SQL查询测试
2016-07-12 11:21 2397Solr发展飞快,现在最 ... -
Lucene/Solr/ElasticSearch搜索问题案例分析
2016-06-23 18:08 1890最近收集的两个搜索 ... -
Lucene+Solr+ElasticSearch查询匹配优化
2016-06-01 19:37 2981当我们在处理搜索业务时候,需求往往是灵活多变的,有时候我们需 ... -
如何通过JMX远程监控Solr?
2016-05-23 16:07 2034有时候,我们在服务 ... -
如何实现Solr自定义评分查询
2016-05-12 17:49 4879(一)背景介绍 大多数时候我们使用lucene/solr ... -
浅谈Lucene中的DocValues
2016-05-10 19:12 7630前言: 在Lucene4.x之后, ... -
开源大数据索引项目hive-solr
2016-05-06 16:15 1997github地址:https://github.com/qi ... -
浅谈Solr和ElasticSearch建索引性能优化策略
2016-04-27 18:48 2244由于Solr和ElasticSearch ...
相关推荐
主要文件夹有`bin`、`server`、`example`等,其中`bin`包含启动和管理Solr的脚本,`server`存放Solr服务器的运行时文件,`example`提供了一个快速启动的示例配置。 2. **分词器**: - 分词器是Solr处理文本的关键...
标题中的“一键安装伪分布式zk集群-solr集群脚本”指的是使用自动化脚本来部署Zookeeper集群和Solr集群,这种部署方式简化了传统手动安装的复杂过程,适合初学者和快速测试环境。Zookeeper是一个分布式协调服务,而...
7. **安装Solr**:在Ambari的管理界面中,选择离线安装模式,然后添加并启动Solr服务。Ambari会根据你的配置和定义文件,在每个节点上安装和配置Solr。 8. **验证安装**:安装完成后,可以通过Ambari的监控功能检查...
文件`ssotool.msi`可能是一个单点登录(Single Sign-On, SSO)工具的安装程序,与Solr集成可以提供统一的身份验证服务,使得用户在访问多个系统时只需登录一次。 5. **应用场景**: - **电子商务**:快速搜索商品...
文档中详细介绍了如何在ubuntu下面安装solr-4.9.0,以及在安装过程中出现的问题和解决办法
在Linux系统上如何搭建了solr搜索服务,同时运用到项目中
在Tomcat7下安装solr的步骤 在Tomcat7下安装solr的步骤
centos7 环境 安装docker 并在docker 中部署solr 并使用
在macOS上安装Solr并索引MySQL_在macOS上安装Solr并索引MySQL
1.下载solr7.5.tar,拷贝到CentOS解压 2.启动solr 3.开启该端口防火墙 4.控制界面访问 5.创建一个核心(又名索引)(此处测试名称:core1) 6.配置数据库读取信息:DataImportHandler 7.重启solr在core1导入数据库...
### Ubuntu16.04上Solr7的安装与部署详解 #### 一、环境准备与配置 在开始部署Solr7之前,首先确保已经具备了以下基础环境: 1. **虚拟机环境**:本教程使用的是VMware12.0作为虚拟机平台,操作系统为Ubuntu16.04...
Solr 安装部署文档 Solr 是一个基于 Lucene 的搜索服务器,提供了强大的全文搜索功能。下面是基于 Solr 5.5.5 的安装部署文档,包含 Solr 导入 Oracle 数据库的步骤。 Solr 安装部署 1. 下载 Solr 5.5.5,地址:...
### Solr安装与配置知识点详解 #### 一、Solr简介 Solr是一款开源的、高性能的全文搜索引擎,广泛应用于企业级搜索系统中。它基于Lucene开发,并提供了丰富的功能和扩展性,支持多种数据源索引和检索,能够轻松地...
javascriptsolrnodejs 一个正常工作的100%javascript MVC应用程序,它使用简单的nodejs ...安装Solr solr.cmd -c -p 8983 -sd:\ apps \ solr-5.0.0 \ server \ solr -e techproducts D:\ apps \ solr-5.0.0 \ ser
Solr 7.4 集群安装是一个关键的IT任务,涉及到分布式搜索和数据分析的基础设施建设。Apache Solr是一款开源的企业级搜索平台,能够处理大量数据并提供快速、高效的全文检索服务。在Solr 7.4版本中,它引入了多项改进...
(1)借助X Shell上传solr的安装包到/usr/local/目录下,使用 tar -zxvf命令进行解压. (2)使用内置的Jetty来启动Solr服务器只需要在example目录下,执行start.jar程序即可,我们可以直接执行命令:java –jar ...
### Solr 安装与配置知识点详解 #### 一、Solr简介 - **Solr** 是 Apache 软件基金会旗下的顶级开源项目之一,它是一个高性能、采用 Java 编写的全文检索服务器。 - Solr 基于 Lucene 库构建而成,但相比 Lucene ...
### Solr 安装与使用详解 #### 一、Solr简介 Solr 是一个高性能、采用Java开发的全文搜索引擎。它可以轻松地被集成到基于Web的应用程序中,为用户提供强大的搜索功能。Solr 支持多种数据源,并且能够进行高度定制...
在 Linux 上安装 Solr 8.8.2 需要遵循以下步骤: 1. **下载与解压**: 首先,你需要从 Apache 官方网站下载 `solr-8.8.2.tgz` 文件。完成下载后,使用 `tar` 命令解压文件: ``` tar -zxvf solr-8.8.2.tgz ``` ...