当sitecore 8内容管理网站使用Solr 6.1时,我们收到以下错误。请指教。
警告是的 LukeRequestHandler 获取[segments_7c]的文件长度时出错 java.nio.file.NoSuchFileException:G:\ Solr \ Solr61 \ server \ solr \ itembucket_prod \ data \ index \ segments_7c at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:79) at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97) at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102) at sun.nio.fs.WindowsFileAttributeViews $ Basic.readAttributes(WindowsFileAttributeViews.java:53) at sun.nio.fs.WindowsFileAttributeViews $ Basic.readAttributes(WindowsFileAttributeViews.java:38) at sun.nio.fs.WindowsFileSystemProvider.readAttributes(WindowsFileSystemProvider.java:193) at java.nio.file.Files.readAttributes(Files.java:1737) 在java.nio.file.Files.size(Files.java:2332) 在org.apache.lucene.store.FSDirectory.fileLength(FSDirectory.java:243) 在org.apache.lucene.store.NRTCachingDirectory.fileLength(NRTCachingDirectory.java:128) 在org.apache.solr.handler.admin.LukeRequestHandler.getFileLength(LukeRequestHandler.java:597) at org.apache.solr.handler.admin.LukeRequestHandler.getIndexInfo(LukeRequestHandler.java:585) 在org.apache.solr.handler.admin.CoreAdminOperation.getCoreStatus(CoreAdminOperation.java:968) 在org.apache.solr.handler.admin.CoreAdminOperation $ 4.call(CoreAdminOperation.java:170) 在org.apache.solr.handler.admin.CoreAdminHandler $ CallInfo.call(CoreAdminHandler.java:367) 在org.apache.solr.handler.admin.CoreAdminHandler.handleRequestBody(CoreAdminHandler.java:158) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:156) 在org.apache.solr.servlet.HttpSolrCall.handleAdminRequest(HttpSolrCall.java:663) 在org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:445) 在org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:257) 在org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:208) 在org.eclipse.jetty.servlet.ServletHandler $ CachedChain.doFilter(ServletHandler.java:1668) 在org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581) 在org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) 在org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) 在org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1160) 在org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) 在org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) 在org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1092) 在org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213) 在org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119) 在org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) 在org.eclipse.jetty.server.Server.handle(Server.java:518) 在org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308) 在org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:244) at org.eclipse.jetty.io.AbstractConnection $ ReadCallback.succeeded(AbstractConnection.java:273) 在org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) 在org.eclipse.jetty.io.SelectChannelEndPoint $ 2.run(SelectChannelEndPoint.java:93) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:246) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:156) 在org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654) 在org.eclipse.jetty.util.thread.QueuedThreadPool $ 3.run(QueuedThreadPool.java:572) 在java.lang.Thread.run(Thread.java:745)