HTTP Status 500 - {msg=SolrCore 'collection1' is not available due to init failure

1 篇文章 0 订阅
1 篇文章 0 订阅
本文详细解析了在Solr中遇到的HTTP状态500错误,具体表现为SolrCore不可用,原因是核心配置加载失败,字段item_price指定了未知的字段类型'pdoubles'。文章提供了详细的错误跟踪信息,并分享了解决方案,即修正schema.xml中的字段类型定义。
摘要由CSDN通过智能技术生成

HTTP Status 500 - {msg=SolrCore 'collection1' is not available due to init failure: Could not load conf for core collection1: Unknown fieldType 'pdoubles' specified on field item_price. Schema file is /usr/local/solr/solrhome/collection1/conf/schema.xml,trace=org.apache.solr.common.SolrException: SolrCore 'collection1' is not available due to init failure: Could not load conf for core collection1: Unknown fieldType 'pdoubles' specified on field item_price. Schema file is /usr/local/solr/solrhome/collection1/conf/schema.xml at org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:745) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:307) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.solr.common.SolrException: Could not load conf for core collection1: Unknown fieldType 'pdoubles' specified on field item_price. Schema file is /usr/local/solr/solrhome/collection1/conf/schema.xml at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:66) at org.apache.solr.core.CoreContainer.create(CoreContainer.java:489) at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:255) at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:249) at java.util.concurrent.FutureTask.run(FutureTask.java:266) ... 3 more Caused by: org.apache.solr.common.SolrException: Unknown fieldType 'pdoubles' specified on field item_price. Schema file is /usr/local/solr/solrhome/collection1/conf/schema.xml at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:595) at org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:166) at org.apache.solr.schema.IndexSchemaFactory.create(IndexSchemaFactory.java:55) at org.apache.solr.schema.IndexSchemaFactory.buildIndexSchema(IndexSchemaFactory.java:69) at org.apache.solr.core.ConfigSetService.createIndexSchema(ConfigSetService.java:90) at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:62) ... 7 more Caused by: org.apache.solr.common.SolrException: Unknown fieldType 'pdoubles' specified on field item_price at org.apache.solr.schema.IndexSchema.loadFields(IndexSchema.java:638) at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:489) ... 12 more ,code=500}

 

 

Google翻译结果:

HTTP状态500 - 由于init失败,{msg = SolrCore'collection1'不可用:无法加载核心集合1的conf:字段item_price上指定的未知fieldType'pdoubles'。架构文件是/usr/local/solr/solrhome/collection1/conf/schema.xml,trace=org.apache.solr.common.SolrException:由于init失败,SolrCore'collection1'不可用:无法为内核加载conf collection1:字段item_price上指定的未知字段类型'pdoubles'。架构文件是org.apache.solr.servlet.SolrDispatchFilter.doFilter中的org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:745)中的/usr/local/solr/solrhome/collection1/conf/schema.xml (SolrDispatchFilter.java:307)org.apache中的org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)。 catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)位于org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java: 123)org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)at org.apache.catalina.valves.AccessLogValve .invoke(AccessLogValve.java:953)atg.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)org.apache.coyote.AbstractProtocol $ AbstractConnectionHandler.process( AbstractProtocol.java:603)在java.util的java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)的org.apache.tomcat.util.net.JIoEndpoint $ SocketProcessor.run(JIoEndpoint.java:310) .concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:624)at java.lang.Thread.run(Thread.java:748)引起:org.apache.solr.common.SolrException:无法为core collection1加载conf :字段item_price上指定的未知字段类型'pdoubles'。架构文件是org.apache.solr.core.CoreContainer.create中的org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:66)中的/usr/local/solr/solrhome/collection1/conf/schema.xml (CoreContainer.java:489)org.apache.solr.core.CoreContainer $ 1.call(CoreContainer.java:255)at org.apache.solr.core.CoreContainer $ 1.call(CoreContainer.java:249)at java。 util.concurrent.FutureTask.run(FutureTask.java:266)... 3更多引起:org.apache.solr.common.SolrException:字段item_price上指定的未知字段类型'pdoubles'。架构文件位于org.apache.solr.schema.IndexSchema的org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:595)中的/usr/local/solr/solrhome/collection1/conf/schema.xml。 init>(IndexSchema.java:166)org.apache.solr.schema.IndexSchemaFactory.create(IndexSchemaFactory.java:55)org.apache.solr.schema.IndexSchemaFactory.buildIndexSchema(IndexSchemaFactory.java:69)at org。 org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:62)中的apache.solr.core.ConfigSetService.createIndexSchema(ConfigSetService.java:90)... 7更多引起:org.apache.solr.common .SolrException:org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:489)中org.apache.solr.schema.IndexSchema.loadFields(IndexSchema.java:638)的字段item_price上指定的未知字段类型'pdoubles' ......还有12个,代码= 500}

 

解决方案:复制Google翻译下,发现是字段item_price上指定的未知字段类型'pdoubles'

 

改正之后截图:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值