[ https://issues.apache.org/jira/browse/LUCENE-1454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647960#action_12647960 ]
Michael McCandless commented on LUCENE-1454: -------------------------------------------- You're right, Luke is saying that! But, that's a misleading error -- here are the sources in Luke for that error: {code} fn = ir.getFieldNames(IndexReader.FieldOption.ALL); if (fn.size() == 0) { errorMsg("Invalid or corrupted index."); return; } {code} So, what Luke really means is there are 0 fields found in the index, ie it's an empty index. > Corrupted index produced by lucene 2.4 > -------------------------------------- > > Key: LUCENE-1454 > URL: https://issues.apache.org/jira/browse/LUCENE-1454 > Project: Lucene - Java > Issue Type: Bug > Components: Index > Affects Versions: 2.4 > Reporter: Andrew Zhang > Attachments: index.zip > > > Hi, > I found corrupted index produced by lucene-2.4. I can't find a way to > reproduce it. My machine was shutdown abnormally when the application was > running. > The corrupted index is attached. Would anyone please take a look? Thanks a > lot! > Environment: Windows XP, Service Pack 2 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]