Analyzer implementation classes error

Suggestions, questions oder problems with regain

Moderator: thtesche

Analyzer implementation classes error

Postby robdyke » Sun Dec 30, 2012 6:48 pm

Just been getting started with regain v2.0 stable and I'm getting some errors on starting up the crawler from the Analyzer implementation classes (as below).

Code: Select all
[root@centos6-base crawler]# java -jar regain-crawler.jar
21:33:29: Logging initialized
21:33:29: Read authentication entries from authentication properties.
21:33:29: net.sf.regain.crawler.plugin.plugin.FilesizeFilterPlugin is disabled in configuration
21:33:29: Starting crawling ...
21:33:29: Using no proxy
21:33:29: Preparing the index
21:33:29: ... Finished crawling

Exception in thread "main" java.lang.AssertionError: Analyzer implementation classes or at least their tokenStream() and reusableTokenStream() implementations must be final
   at org.apache.lucene.analysis.Analyzer.assertFinal(Analyzer.java:59)
   at org.apache.lucene.analysis.Analyzer.<init>(Analyzer.java:45)
   at net.sf.regain.RegainToolkit$WrapperAnalyzer.<init>(RegainToolkit.java:1601)
   at net.sf.regain.RegainToolkit.createAnalyzer(RegainToolkit.java:696)
   at net.sf.regain.crawler.IndexWriterManager.<init>(IndexWriterManager.java:283)
   at net.sf.regain.crawler.Crawler.run(Crawler.java:424)
   at net.sf.regain.crawler.Main.main(Main.java:137)
robdyke
 
Posts: 2
Joined: Sun Dec 30, 2012 6:44 pm

Re: Analyzer implementation classes error

Postby robdyke » Sun Dec 30, 2012 7:24 pm

a-ha!

switched from openjava to sunjava and all is working.
robdyke
 
Posts: 2
Joined: Sun Dec 30, 2012 6:44 pm


Return to regain

Who is online

Users browsing this forum: No registered users and 1 guest

cron