lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Grand (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-5050) CompressingStoredFieldsReader should close the index file as soon as it has been read
Date Mon, 10 Jun 2013 12:39:20 GMT
Adrien Grand created LUCENE-5050:
------------------------------------

             Summary: 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


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


Mime
View raw message