You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2013/06/11 21:36:21 UTC
[jira] [Resolved] (LUCENE-5050) CompressingStoredFieldsReader
should close the index file as soon as it has been read
[ https://issues.apache.org/jira/browse/LUCENE-5050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrien Grand resolved LUCENE-5050.
----------------------------------
Resolution: Fixed
Thanks Robert.
> CompressingStoredFieldsReader should close the index file as soon as it has been read
> -------------------------------------------------------------------------------------
>
> Key: LUCENE-5050
> URL: https://issues.apache.org/jira/browse/LUCENE-5050
> Project: Lucene - Core
> Issue Type: Improvement
> Affects Versions: 4.3.1
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Priority: Minor
> Fix For: 5.0, 4.4
>
> Attachments: LUCENE-5050.patch
>
>
> Although CompressingStoredFieldsReader loads the stored fields index into memory, it only closes the index file in {{close()}}. Closing at the end of the constructor should help save file descriptors.
> The same idea applies to CompressingTermVectorsReader.
--
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: 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