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

DirectoryTaxonomyReader should implement Accountable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.1, master (8.0)
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      This class is a concrete instance of TaxonomyReader that uses a Lucene index to map facet labels to ordinals.

      It uses a fair amount of heap, e.g. to hold parent/sibling/child int arrays, to cache recent lookups, and in the underlying IndexReader. I think we should have it implement Accountable so people can track its heap usage.

        Attachments

        1. LUCENE-7972.patch
          9 kB
          Michael McCandless

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              mikemccand Michael McCandless
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: