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

Add DirectoryTaxonomyWriter.getCache

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.5, 8.0
    • None
    • None
    • New

    Description

      DirectoryTaxonomyWriter uses a cache to hold recently mapped labels / ordinals.  You can provide an impl when you create the class, or it will use a default impl.

       

      I'd like to add a getter, DirectoryTaxonomyWriter.getCache to retrieve the cache it's using; this is helpful for getting diagnostics (how many cached labels, how much RAM used, etc.).

      Attachments

        1. LUCENE-8397.patch
          2 kB
          Michael McCandless

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: