lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Created: (LUCENE-1023) When the index has more than 1 segment, norms take 2 bytes of RAM per norm not 1
Date Sat, 06 Oct 2007 13:33:50 GMT
When the index has more than 1 segment, norms take 2 bytes of RAM per norm not 1
--------------------------------------------------------------------------------

                 Key: LUCENE-1023
                 URL: https://issues.apache.org/jira/browse/LUCENE-1023
             Project: Lucene - Java
          Issue Type: Bug
          Components: Index
    Affects Versions: 2.2, 2.1, 2.0.0, 1.9, 2.0.1, 2.3
            Reporter: Michael McCandless
            Assignee: Michael McCandless
            Priority: Minor


When norms are loaded for an index with multiple segments,
MultiSegmentReader caches a byte array for all norms (concatenated
from all segments), and SegmentReader also caches a byte array for its
norms.  I think MultiSegmentReader should somehow tell SegmentReader
not cache its own norms.  For a large index this will save quite a bit
of memory (1 byte per document per field-with-norms).

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