Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-1662

consolidate FieldCache and ExtendedFieldCache instances

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.9
    • None
    • None
    • New

    Description

      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.

      Attachments

        1. LUCENE-1662.patch
          1 kB
          Yonik Seeley

        Activity

          People

            Unassigned Unassigned
            yseeley@gmail.com Yonik Seeley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: