You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (Resolved) (JIRA)" <ji...@apache.org> on 2011/11/03 13:51:32 UTC

[jira] [Resolved] (LUCENE-3553) tweak AppendingCodec to write segments_N compatible with 'normal' Lucene

     [ https://issues.apache.org/jira/browse/LUCENE-3553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir resolved LUCENE-3553.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0
         Assignee: Robert Muir
    
> tweak AppendingCodec to write segments_N compatible with 'normal' Lucene
> ------------------------------------------------------------------------
>
>                 Key: LUCENE-3553
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3553
>             Project: Lucene - Java
>          Issue Type: Improvement
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>            Assignee: Robert Muir
>             Fix For: 4.0
>
>         Attachments: LUCENE-3553.patch
>
>
> Just an easy improvement from LUCENE-3490:
> Currently AppendingCodec writes a different segments_N format (it writes no checksum at all in commit())
> If you don't configure your codecprovider correctly in IndexReader, you will get read past EOF.
> (we have some proposed fixes for this stuff in LUCENE-3490 branch)
> But besides this, all it really needs to do is no-op prepareCommit(), it can still write the 'final' checksum
> which is a good thing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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