Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-15059

One/TwoDimensionalTermHitCollectors use StatsJiraLuceneFieldCache with no cacheing

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.

      Currently the JiraLuceneFieldCache has a cache that does nothing (this is one purpose). The cache used to be in place (but I am sure it was broken back then) bu it was disabled.

      It used by Both Lucene and 1/2DimensionalermHitCollectors and anything else that uses the StatisticAccessorBean.searchCountMap().

      This creates an index the size of the index that sticks around for the request and does not cache it.
      There was an old cache in place but Scott removed this around 3.8.

      Options:

      1. Fix cache - add caching to getMatches() but not for getCustom().
      2. Switch everything that use this to use a DocHitCollector (a LOT more memory efficient but may need to do performance hits).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nick.menere Nick Menere [Atlassian] (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: