lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] [Commented] (LUCENE-4848) Add Directory implementations using NIO2 APIs
Date Mon, 18 Mar 2013 12:14:15 GMT


Robert Muir commented on LUCENE-4848:

I would be against it myself. It seems users cannot even manage open/close on IndexReader
and IndexWriter today. So its too much that they would have to close() scorers, docsenum,
and so on.

Personally i'm not worried about ClosedByInterruptExceptions: just dont interrupt threads
doing searches. I'm also not willing to pay the cost of additional file handles if i'm not
interrupt()'ing...why should i?

But to me this is all unrelated to this issue, its been discussed over and over elsewhere
and the problem already exists today.
> Add Directory implementations using NIO2 APIs
> ---------------------------------------------
>                 Key: LUCENE-4848
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Michael Poindexter
>            Assignee: Uwe Schindler
>            Priority: Minor
>         Attachments:
> I have implemented 3 Directory subclasses using NIO2 API's (available on JDK7).  These
may be suitable for inclusion in a Lucene contrib module.
> See the mailing list at for more details
about this code and the advantages it provides.
> The code is attached as a zip to this issue.  I'll be happy to make any changes requested.
 I've included some minimal smoke tests, but any help in how to use the normal Lucene tests
to perform more thorough testing would be appreciated.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message