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

     [ https://issues.apache.org/jira/browse/LUCENE-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yonik Seeley updated LUCENE-1662:
---------------------------------

    Attachment: LUCENE-1662.patch

Patch attached... all tests pass and I plan on committing shortly.

> 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
>
>         Attachments: LUCENE-1662.patch
>
>
> 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