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

OrdinalsCache should use reader.getCoreCacheKey()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.6, 6.0
    • modules/facet
    • None
    • New, Patch Available

    Description

      I'm doing some facet performance tests, and I tried using the CachedOrdsCountingFacetsAggregator to cache the decoded ords per doc X field ... but noticed it was generating way too many cache entries, because it's currently using the NDV instance as the cache key.

      NDV instances are thread-private so this results in way too many entries in the cache.

      Attachments

        1. LUCENE-5303.patch
          7 kB
          Shai Erera

        Activity

          People

            shaie Shai Erera
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: