You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2015/02/28 17:54:04 UTC

[jira] [Updated] (LUCENE-6311) IndexInput.toString should always confess when it's inside a compound file

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

Michael McCandless updated LUCENE-6311:
---------------------------------------
    Attachment: LUCENE-6311.patch

Patch with a test case in BaseCompoundFormatTestCase, and fixing the 2 "non-confessing" dir impls I found, and factoring out a protected method in IndexInput to create the String resourceDesc for sliced files.

> IndexInput.toString should always confess when it's inside a compound file
> --------------------------------------------------------------------------
>
>                 Key: LUCENE-6311
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6311
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: Trunk, 5.1
>
>         Attachments: LUCENE-6311.patch
>
>
> MMapDir and RAMDir seem do this properly but at least SimpleFSDir and NIOFSDir do not state when a given name was opened from within a compound file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org