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 (JIRA)" <ji...@apache.org> on 2012/06/11 13:04:42 UTC

[jira] [Updated] (LUCENE-4129) add CodecHeader to .frq and .prx

     [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org