[
https://issues.apache.org/jira/browse/LUCENE-821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yonik Seeley updated LUCENE-821:
--------------------------------
Attachment: norms.patch
Attaching patch.
Changes:
- Only open a single IndexInput for the .nrm file and reuse it for all
norms sharing that file in the segment. No clone is needed since
only a single norm is read at any time.
- close norms when no longer needed (idea from Michael)
- removed extra IndexInput clone() when reading the norms... why was this there
originally?
> single norm file still uses up descriptors
> ------------------------------------------
>
> Key: LUCENE-821
> URL: https://issues.apache.org/jira/browse/LUCENE-821
> Project: Lucene - Java
> Issue Type: Bug
> Reporter: Yonik Seeley
> Assigned To: Yonik Seeley
> Attachments: norms.patch
>
>
> The new index file format with a single .nrm file for all norms does not
> decrease file descriptor usage.
> The .nrm file is opened once for each field with norms in the index segment.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]