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: [email protected]
For additional commands, e-mail: [email protected]