lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-3553) tweak AppendingCodec to write segments_N compatible with 'normal' Lucene
Date Wed, 02 Nov 2011 14:39:32 GMT
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


Mime
View raw message