You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2014/03/16 05:48:39 UTC

[jira] [Updated] (LUCENE-3689) DocValuesConsumer should implement closeable and release resource in close instead of during finish / flush

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

David Smiley updated LUCENE-3689:
---------------------------------

    Fix Version/s:     (was: 4.7)
                   4.8

> DocValuesConsumer should implement closeable and release resource in close instead of during finish / flush
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-3689
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3689
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/index
>    Affects Versions: 4.0-ALPHA
>            Reporter: Simon Willnauer
>             Fix For: 4.8
>
>         Attachments: LUCENE-3689.patch
>
>
> DocValuesConsumer currently doesn't have a close method and releases its resources during finish / flush. This is confusing, makes debugging more complex and mixes concerns. DocValuesConsumer should impl. Closeable and users should release resources safely.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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