lucene-dev mailing list archives

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


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:
>             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:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message