lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-4130) CompoundFileDirectory.listAll is broken
Date Mon, 11 Jun 2012 17:57:43 GMT

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

Robert Muir updated LUCENE-4130:
--------------------------------

    Attachment: LUCENE-4130.patch

cleaned-up patch, removing the duplicate code of 'find segment boundary/indexOf' between stripSegmentName
and parseSegmentName (so its not easy to break the relationship between the two), and returning
empty string from parse (which is more correct, also means CFS is transparent for files without
a segment prefix). also removed the TODO from TestAllFilesHaveCodecHeader to recurse into
CFS.

I think this is ready to commit
                
> CompoundFileDirectory.listAll is broken
> ---------------------------------------
>
>                 Key: LUCENE-4130
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4130
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-4130.patch, LUCENE-4130.patch, LUCENE-4130_test.patch
>
>
> The files returned by listAll are not actually the files in the CFS.

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