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] Created: (LUCENE-1662) consolidate FieldCache and ExtendedFieldCache instances
Date Tue, 26 May 2009 22:07:45 GMT
consolidate FieldCache and ExtendedFieldCache instances
-------------------------------------------------------

                 Key: LUCENE-1662
                 URL: https://issues.apache.org/jira/browse/LUCENE-1662
             Project: Lucene - Java
          Issue Type: Improvement
            Reporter: Yonik Seeley
             Fix For: 2.9


It's confusing and error prone having two instances of FieldCache... FieldCache .DEFAULT and
ExtendedFieldCache .EXT_DEFAULT.
Accidentally use the wrong one and you silently double the memory usage for that field.  Since
ExtendedFieldCache extends FieldCache, there's no reason not to share the same instance across
both.

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