lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-821) single norm file still uses up descriptors
Date Sat, 03 Mar 2007 18:44:50 GMT

     [ 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message