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

Reply via email to