Constant errors in Indexer

Problems with installing LogicalDOC? No problems, the solution is closer than you think.

Moderator: car031

Rabbit80
Posts: 29
Joined: Mon Oct 04, 2010 3:18 pm

Constant errors in Indexer

Thu Jul 12, 2012 11:45 am

HI,

I am getting these messages constantly (every few mins) recorded in the log. Any ideas how to fix?

Code: Select all

2012-07-12 11:35:47.215	ERROR	com.logicaldoc.core.searchengine.Indexer	getCount no segments* file found in org.apache.lucene.store.NIOFSDirectory@/home/LDRepo/Version642/index/ru lockFactory=org.apache.lucene.store.NativeFSLockFactory@206f18d0: files: []
org.apache.lucene.index.IndexNotFoundException: no segments* file found in org.apache.lucene.store.NIOFSDirectory@/home/LDRepo/Version642/index/ru lockFactory=org.apache.lucene.store.NativeFSLockFactory@206f18d0: files: [] 
    	at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:712) 
    	at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:75) 
    	at org.apache.lucene.index.IndexReader.open(IndexReader.java:462) 
    	at org.apache.lucene.index.IndexReader.open(IndexReader.java:322) 
    	at com.logicaldoc.core.searchengine.Indexer.getCount(Indexer.java:433) 
    	at com.logicaldoc.web.service.SearchEngineServiceImpl.getInfo(SearchEngineServiceImpl.java:43) 
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
    	at java.lang.reflect.Method.invoke(Method.java:616) 
    	at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569) 
    	at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208) 
    	at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248) 
    	at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) 
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) 
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) 
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 
    	at com.logicaldoc.web.CharsetFilter.doFilter(CharsetFilter.java:26) 
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 
    	at com.logicaldoc.web.SessionFilter.doFilter(SessionFilter.java:61) 
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 
    	at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:164) 
    	at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141) 
    	at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90) 
    	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417) 
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 
    	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) 
    	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) 
    	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:465) 
    	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 
    	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 
    	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) 
    	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) 
    	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) 
    	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) 
    	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) 
    	at java.lang.Thread.run(Thread.java:636)
Also, the system seems to frequently lose the ability to perform searches - it simply does not return any hits. Is that related? We use webservices most of the time if that helps.

Regards

Shane

EDIT: Seems the error might have been due to a permissions issue on the path. Will update again if I have any more issues.
mmeschieri
Posts: 242
Joined: Mon Apr 19, 2010 3:40 pm

Re: Constant errors in Indexer

Fri Jul 13, 2012 2:54 pm

You have at least a document in the russian language, but you don't have the russian full-text index, that's why you have errors.

In administration you have to enable the russian language in the Search Engine settings, after this you need to restart tomcat. At this point you should see the russian empty index appearing in iondex/ru

Return to “Installation”

Who is online

Users browsing this forum: No registered users and 1 guest