lucene-dev mailing list archives

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

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

Yonik Seeley updated LUCENE-1451:
---------------------------------

    Attachment: LUCENE-1451.patch

Ok, here's a version that adds public constructors, and a test that ensures that reading,
writing, and locking all work concurrently in the same directory with different FSDirectory
implementations.

AFAIK, there's nowhere in Lucene that synchronizes on the Directory instance (where it matters),
so multiple instances per path should be safe.

> 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
>            Assignee: Yonik Seeley
>            Priority: Minor
>         Attachments: LUCENE-1451.patch, 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