schema.doc.xml报错pic: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Coul

前端之家收集整理的这篇文章主要介绍了schema.doc.xml报错pic: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Coul前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
HTTP Status 500 - {msg=SolrCore 'doc' is not available due to init failure: Could not load conf for core doc: ZkSolrResourceLoader does not support getConfigDir() - likely,what you are trying to do is not supported in ZooKeeper mode,trace=org.apache.solr.common.SolrException: SolrCore 'doc' is not available due to init failure: Could not load conf for core doc: ZkSolrResourceLoader does not support getConfigDir() - likely,what you are trying to do is not supported in ZooKeeper mode at org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:745) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:347) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:136) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:78) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:526) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1033) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:652) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:277) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2451) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2440) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:724) Caused by: org.apache.solr.common.SolrException: Could not load conf for core doc: ZkSolrResourceLoader does not support getConfigDir() - likely,what you are trying to do is not supported in ZooKeeper mode 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$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ... 1 more Caused by: org.apache.solr.common.cloud.ZooKeeperException: ZkSolrResourceLoader does not support getConfigDir() - likely,what you are trying to do is not supported in ZooKeeper mode at org.apache.solr.cloud.ZkSolrResourceLoader.getConfigDir(ZkSolrResourceLoader.java:101) at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:593) at org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:165) 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) ... 8 more,code=500}


  • pic:org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Could not load conf for core pic: ZkSolrResourceLoader does not support getConfigDir() - likely,what you are trying to do is not supported in ZooKeeper mode
原因是:schame文件配置错误
<field update=“set” name="hits" type="int" indexed="false" stored="true" required="false" multiValued="false" omitNorms="true" />
field中不能有update属性 schema语法问题以及插件不能加载问题 都会报上面的错误
原文链接:https://www.f2er.com/xml/297413.html

猜你在找的XML相关文章