lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <>
Subject [jira] Commented: (LUCENE-1451) Can't create NIOFSDirectory w/o setting a system property
Date Wed, 12 Nov 2008 23:09:44 GMT


Mark Miller commented on LUCENE-1451:

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

While it might be useful sometimes, I don't see how it really is needed. I think a better
solution is allowing for direct instantiation while providing a factory class if for some
reason you need that behavior. Most apps I have worked with do not need it and I don't understand
why its forced on you, other than a bit of overprotection.

> Can't create NIOFSDirectory w/o setting a system property
> ---------------------------------------------------------
>                 Key: LUCENE-1451
>                 URL:
>             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:
For additional commands, e-mail:

View raw message