lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1451) Can't create NIOFSDirectory w/o setting a system property
Date Wed, 12 Nov 2008 22:21:44 GMT

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

Michael McCandless commented on LUCENE-1451:
--------------------------------------------

bq. 1. if i'm reading it right, this patch won't work if two different callers ask for Directories
backed by the same File using different directoryImpl instances ... the first one will go
into the DIRECTORIES cache and "win" for all future calls.

Hmm good point.  Actually why do we do this 'single instance of FSDir per File' again?  Is
it really needed?

> Can't create NIOFSDirectory w/o setting a system property
> ---------------------------------------------------------
>
>                 Key: LUCENE-1451
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1451
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Yonik Seeley
>            Priority: Minor
>         Attachments: LUCENE-1451.patch, LUCENE-1451.patch
>
>
> NIOFSDirectory.getDirectory() returns a FSDirectory object

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message