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

Robert Muir updated LUCENE-4129:
--------------------------------

    Attachment: LUCENE-4129.patch

patch: this found a bug in NestedPulsing in the disk full tests.

I also changed pulsing to be more clear that the inner postings reader/writer 
is being closed here: theoretically its possible the pulsingreader/writer ctor 
could throw an exception and we would have a leak.
                
> add CodecHeader to .frq and .prx
> --------------------------------
>
>                 Key: LUCENE-4129
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4129
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>            Assignee: Robert Muir
>         Attachments: LUCENE-4129.patch
>
>
> We did this for all other files, but not .frq/.prx.
> Currently the postings writer only records itself in the blocktree terms 
> dictionary, which is fine, but thats really documenting the .tim itself, that 
> it is "Blocktree with Lucene40Postings metadata".
> I think we should put headers in .frq/.prx as well: e.g. it could detect file 
> jumbling.

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