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 (Updated) (JIRA)" <ji...@apache.org> on 2011/11/02 15:39:32 UTC

[jira] [Updated] (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 updated LUCENE-3553:
--------------------------------

    Attachment: LUCENE-3553.patch
    
> 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
>         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