You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2012/06/26 10:43:46 UTC

[jira] [Commented] (SOLR-3570) Release Resource Stream in Suggestor

    [ https://issues.apache.org/jira/browse/SOLR-3570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13401249#comment-13401249 ] 

Simon Willnauer commented on SOLR-3570:
---------------------------------------

I will commit this if nobody objects
                
> Release Resource Stream in Suggestor 
> -------------------------------------
>
>                 Key: SOLR-3570
>                 URL: https://issues.apache.org/jira/browse/SOLR-3570
>             Project: Solr
>          Issue Type: Improvement
>          Components: spellchecker
>    Affects Versions: 3.6, 4.0, 5.0
>            Reporter: Simon Willnauer
>            Assignee: Simon Willnauer
>             Fix For: 4.0, 3.6.1, 5.0
>
>         Attachments: SOLR-3570.patch
>
>
> Currently the Suggestor doesn't release the resource stream if a file dictionary is loaded. The FileDictionary implemenation closes the stream but only if we exhaust the stream entirely. Yet, we should close this on the consumer side too. double close is no harm.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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