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

Simon Willnauer updated LUCENE-4051:
------------------------------------

    Attachment: LUCENE-4051.patch

bq. By the way: we can use CodecUtil.headerLength to have a static final
for the length of the header (rather than getFilePointer).

new patch using a static HEADER_LENGTH for this. thanks robert for the pointer.
                
> Fix File Headers for Lucene40 StoredFields & TermVectors
> --------------------------------------------------------
>
>                 Key: LUCENE-4051
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4051
>             Project: Lucene - Java
>          Issue Type: Task
>          Components: core/codecs
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>            Assignee: Simon Willnauer
>             Fix For: 4.0
>
>         Attachments: LUCENE-4051.patch, LUCENE-4051.patch
>
>
> Currently we still write the "old" file header format in 
> Lucene40StoredFieldFormat & Lucene40TermVectorsFormat. We should cut over to 
> use CodecUtil and reset the versioning before we release Lucene 4.0

--
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]

Reply via email to