SOLR 未定义字段布尔异常 Alfresco

问题描述 投票:0回答:0

我在使用 Alfresco Share 5.2 和 solr4 搜索时遇到问题。 我做了完整的重新索引和服务器星级,日志中没有任何错误。

当我尝试搜索时,结果为 0,它不起作用,并且在日志中出现此错误:

2023-03-30 08:55:11,514 ERROR [solr.core.SolrCore] [http-bio-8443-exec-25] org.apache.solr.common.SolrException: undefined field: "boolean@sd@{http://www.adama.com/model/document/1.0}documentStudyNotification" 
at org.apache.solr.schema.IndexSchema.getField(IndexSchema.java:1200) 
at org.apache.solr.request.SimpleFacets.getTermCounts(SimpleFacets.java:393) 
at org.apache.solr.request.SimpleFacets.getTermCounts(SimpleFacets.java:366) 
at org.apache.solr.request.SimpleFacets$2.call(SimpleFacets.java:592) 
at org.apache.solr.request.SimpleFacets$2.call(SimpleFacets.java:583) 
at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
at org.apache.solr.request.SimpleFacets$1.execute(SimpleFacets.java:537) 
at org.apache.solr.request.SimpleFacets.getFacetFieldCounts(SimpleFacets.java:608) 
at org.apache.solr.request.SimpleFacets.getFacetCounts(SimpleFacets.java:264) 
at org.apache.solr.handler.component.FacetComponent.process(FacetComponent.java:107) 
at org.apache.solr.handler.component.AlfrescoSearchHandler.handleRequestBody(AlfrescoSearchHandler.java:319) 
at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135) 
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1976) 
at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:777) 
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:418) 
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207) 
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) 
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 
at org.alfresco.web.scripts.servlet.X509ServletFilterBase.doFilter(X509ServletFilterBase.java:144) 
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) 
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218) 
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110) 
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506) 
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) 
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) 
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) 
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445) 
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115) 
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637) 
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) 
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 
at java.lang.Thread.run(Thread.java:748)

可能是什么问题?我应该改变我的 solr 配置吗?

solr alfresco alfresco-share solr4
© www.soinside.com 2019 - 2024. All rights reserved.