[ 
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

The problem is the ad-hoc substring'ing done in listAll: it doesnt work with 
norms/dv because they use CFS filenames with segment suffixes.

Instead of this substring, i added a IndexFileNames.parseSegmentName that is 
just like stripSegmentName, except returns the other part.
                
> 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_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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to