You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2011/03/08 15:07:04 UTC

[jira] Created: (LUCENE-2954) CheckIndex prints wrong version number on 3.1 indexes (and posibly also in trunk)

CheckIndex prints wrong version number on 3.1 indexes (and posibly also in trunk)
---------------------------------------------------------------------------------

                 Key: LUCENE-2954
                 URL: https://issues.apache.org/jira/browse/LUCENE-2954
             Project: Lucene - Java
          Issue Type: Bug
          Components: Index
    Affects Versions: 3.1
            Reporter: Uwe Schindler
            Assignee: Uwe Schindler
            Priority: Blocker
             Fix For: 3.1, 3.2, 4.0


When you run CheckIndex on an index created/updated with 3.1, it prints about the SegmentInfos:

{noformat}
Segments file=segments_g19 numSegments=5 version=-11 [Lucene 1.3 or prior]
{noformat}

We should fix CheckIndex and also verify other cases where version numbers are printed out. In trunk the issue may be more complicated!

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Updated: (LUCENE-2954) CheckIndex prints wrong version number on 3.1 indexes (and posibly also in trunk)

Posted by "Uwe Schindler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-2954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Uwe Schindler updated LUCENE-2954:
----------------------------------

    Attachment: LUCENE-2954.patch

New patch:
- handle preliminary 3.1 version exactly like 2.9 did it
- throw exception if somebody fails to upgrade this tool (will be hit in trunk when this patch is merged)

> CheckIndex prints wrong version number on 3.1 indexes (and posibly also in trunk)
> ---------------------------------------------------------------------------------
>
>                 Key: LUCENE-2954
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2954
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>    Affects Versions: 3.1
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>            Priority: Blocker
>             Fix For: 3.1, 3.2, 4.0
>
>         Attachments: LUCENE-2954.patch, LUCENE-2954.patch
>
>
> When you run CheckIndex on an index created/updated with 3.1, it prints about the SegmentInfos:
> {noformat}
> Segments file=segments_g19 numSegments=5 version=-11 [Lucene 1.3 or prior]
> {noformat}
> We should fix CheckIndex and also verify other cases where version numbers are printed out. In trunk the issue may be more complicated!

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Resolved: (LUCENE-2954) CheckIndex prints wrong version number on 3.1 indexes (and posibly also in trunk)

Posted by "Uwe Schindler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-2954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Uwe Schindler resolved LUCENE-2954.
-----------------------------------

       Resolution: Fixed
    Lucene Fields: [New, Patch Available]  (was: [New])

Committed 3.x revision: 1079381
Committed 3.1 revision: 1079382
Committed trunk revision: 1079386

> CheckIndex prints wrong version number on 3.1 indexes (and posibly also in trunk)
> ---------------------------------------------------------------------------------
>
>                 Key: LUCENE-2954
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2954
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>    Affects Versions: 3.1
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>            Priority: Blocker
>             Fix For: 3.1, 3.2, 4.0
>
>         Attachments: LUCENE-2954.patch, LUCENE-2954.patch
>
>
> When you run CheckIndex on an index created/updated with 3.1, it prints about the SegmentInfos:
> {noformat}
> Segments file=segments_g19 numSegments=5 version=-11 [Lucene 1.3 or prior]
> {noformat}
> We should fix CheckIndex and also verify other cases where version numbers are printed out. In trunk the issue may be more complicated!

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Updated: (LUCENE-2954) CheckIndex prints wrong version number on 3.1 indexes (and posibly also in trunk)

Posted by "Uwe Schindler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-2954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Uwe Schindler updated LUCENE-2954:
----------------------------------

    Attachment: LUCENE-2954.patch

Here the patch. In 3.1 we had actually two new version decrements in the format integer.

> CheckIndex prints wrong version number on 3.1 indexes (and posibly also in trunk)
> ---------------------------------------------------------------------------------
>
>                 Key: LUCENE-2954
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2954
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>    Affects Versions: 3.1
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>            Priority: Blocker
>             Fix For: 3.1, 3.2, 4.0
>
>         Attachments: LUCENE-2954.patch
>
>
> When you run CheckIndex on an index created/updated with 3.1, it prints about the SegmentInfos:
> {noformat}
> Segments file=segments_g19 numSegments=5 version=-11 [Lucene 1.3 or prior]
> {noformat}
> We should fix CheckIndex and also verify other cases where version numbers are printed out. In trunk the issue may be more complicated!

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Commented: (LUCENE-2954) CheckIndex prints wrong version number on 3.1 indexes (and posibly also in trunk)

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-2954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003981#comment-13003981 ] 

Robert Muir commented on LUCENE-2954:
-------------------------------------

Thanks for adding the check to prevent this from ever biting us again... if someone bumps this version and doesnt properly update CheckIndex tests will fail, I like this!


> CheckIndex prints wrong version number on 3.1 indexes (and posibly also in trunk)
> ---------------------------------------------------------------------------------
>
>                 Key: LUCENE-2954
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2954
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>    Affects Versions: 3.1
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>            Priority: Blocker
>             Fix For: 3.1, 3.2, 4.0
>
>         Attachments: LUCENE-2954.patch, LUCENE-2954.patch
>
>
> When you run CheckIndex on an index created/updated with 3.1, it prints about the SegmentInfos:
> {noformat}
> Segments file=segments_g19 numSegments=5 version=-11 [Lucene 1.3 or prior]
> {noformat}
> We should fix CheckIndex and also verify other cases where version numbers are printed out. In trunk the issue may be more complicated!

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org