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] [Commented] (LUCENE-6265) Add ExtrasFS to return "bonus" files/subdirs with directories.
Date Fri, 20 Feb 2015 17:54:12 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-6265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14329261#comment-14329261
] 

Robert Muir commented on LUCENE-6265:
-------------------------------------

Well, i don't want to use "realistic" names because we are actually creating the files. So
it could screw operating systems etc up :)
I also like "extraNNNN" because it makes debugging easier.
Finally, i don't want to test the case of someone being abusive here. This is about testing
bonus files, which can happen by the OS.  Very different from some abusive user who is opening
files up with their editor...

> Add ExtrasFS to return "bonus" files/subdirs with directories.
> --------------------------------------------------------------
>
>                 Key: LUCENE-6265
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6265
>             Project: Lucene - Core
>          Issue Type: Test
>            Reporter: Robert Muir
>         Attachments: LUCENE-6265.patch, LUCENE-6265.patch, LUCENE-6265.patch
>
>
> Lucene shouldn't care about files that don't match our index pattern. So if the operating
system makes .DS_Store, thumbs.db, .nfsXXXXX, it shouldnt matter.
> A few tests are sensitive to exact file names (they tend to be a pain for us anyway,
when we change codecs and so on), these tests can use SuppressFileSystems annotation in LUCENE-6264
to prevent this.



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


Mime
View raw message