Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-15059

One/TwoDimensionalTermHitCollectors use StatsJiraLuceneFieldCache with no cacheing

    XMLWordPrintable

Details

    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? 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:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: