You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Scott Lombard (JIRA)" <ji...@apache.org> on 2011/02/20 04:24:39 UTC

[jira] Updated: (LUCENENET-378) Objects with a Close method should support IDisposable

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

Scott Lombard updated LUCENENET-378:
------------------------------------

          Component/s: Lucene.Net Test
                       Lucene.Net Demo
                       Lucene.Net Core
    Affects Version/s: .NET API
        Fix Version/s: .NET API

This is something that will be done with the implementation of the .NET API

> Objects with a Close method should support IDisposable
> ------------------------------------------------------
>
>                 Key: LUCENENET-378
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-378
>             Project: Lucene.Net
>          Issue Type: Improvement
>          Components: Lucene.Net Core, Lucene.Net Demo, Lucene.Net Test
>    Affects Versions: .NET API
>         Environment: .NET
>            Reporter: Kelly Elias
>             Fix For: .NET API
>
>
> It would be very useful to have objects such as IndexSearcher and Directory support IDisposable. Then users can use "using" blocks to manage the lifespan of the objects and don't need to worry about accidentally leaving such objects open.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira