lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] Created: (LUCENE-2523) if index is too old you should hit an exception saying so
Date Fri, 02 Jul 2010 09:34:49 GMT
if index is too old you should hit an exception saying so

                 Key: LUCENE-2523
             Project: Lucene - Java
          Issue Type: Bug
          Components: Index
            Reporter: Michael McCandless
            Priority: Minor
             Fix For: 4.0

If you create an index in 2.3.x (I used demo's IndexFiles) and then try to read it in 4.0.x
(I used CheckIndex), you hit a confusing exception like this:
{noformat} read past EOF
        at org.apache.lucene.index.SegmentInfo.<init>(
        at org.apache.lucene.index.SegmentInfos$1.doBody(
        at org.apache.lucene.index.SegmentInfos$
        at org.apache.lucene.index.SegmentInfos$
        at org.apache.lucene.index.CheckIndex.checkIndex(
        at org.apache.lucene.index.CheckIndex.checkIndex(
        at org.apache.lucene.index.CheckIndex.main(

I think instead we should throw an IndexTooOldException or something like that?

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:
For additional commands, e-mail:

View raw message