newbie question -Updating index failed

Suggestions, questions oder problems with regain

Moderator: thtesche

newbie question -Updating index failed

Postby gfmoss » Wed Oct 07, 2015 1:41 am

18:24:08: Preparation with EmptyPreparator done: file:////NAS4FREE/2tbwddocument/document+storage/Antonio%27s+file/lego/LEGO/_data/z60FRE.bod
18:24:11: Preparation with PlainTextPreparator done: file:////NAS4FREE/2tbwddocument/document+storage/Antonio%27s+file/lego/LEGO/_data/z60FRE.bob
18:24:12: ... Finished crawling

18:24:13: Updating index failed

searched the forum and cant find ref to this error. whats wrong? :shock:
gfmoss
 
Posts: 1
Joined: Wed Oct 07, 2015 1:34 am

Re: newbie question -Updating index failed

Postby mattbk » Fri Aug 25, 2017 3:02 pm

I get the same error. In log/regain.log, the error is

Code: Select all
2017-08-24 17:24:54 [Thread-26] ERROR: Updating index failed
java.lang.ArrayIndexOutOfBoundsException: 10
   at org.apache.lucene.util.UnicodeUtil.UTF16toUTF8(UnicodeUtil.java:390)
   at org.apache.lucene.store.DataOutput.writeString(DataOutput.java:112)
   at org.apache.lucene.index.FieldsWriter.writeField(FieldsWriter.java:212)
   at org.apache.lucene.index.StoredFieldsWriterPerThread.addField(StoredFieldsWriterPerThread.java:58)
   at org.apache.lucene.index.DocFieldProcessorPerThread.processDocument(DocFieldProcessorPerThread.java:263)
   at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:766)
   at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:2060)
   at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:2034)
   at net.sf.regain.crawler.IndexWriterManager.createNewIndexEntry(IndexWriterManager.java:758)
   at net.sf.regain.crawler.IndexWriterManager.addToIndex(IndexWriterManager.java:732)
   at net.sf.regain.crawler.Crawler.run(Crawler.java:575)
   at net.sf.regain.ui.desktop.IndexUpdateManager.checkUpdate(IndexUpdateManager.java:214)
   at net.sf.regain.ui.desktop.IndexUpdateManager.checkThreadRun(IndexUpdateManager.java:158)
   at net.sf.regain.ui.desktop.IndexUpdateManager$1.run(IndexUpdateManager.java:81)


I think it may be related to how many files I'm trying to index at once (~51,000). Indexing a smaller seems to work okay.
mattbk
 
Posts: 2
Joined: Fri Aug 25, 2017 3:00 pm


Return to regain

Who is online

Users browsing this forum: No registered users and 1 guest

cron