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

Never cache GlobalOrdinalQuery

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2, 8.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      GlobalOrdinalsQuery holds a possibly large bitset of global ordinals that can pollute the query cache because the size of the query is not accounted in the memory usage of the cache.
      Moreover two instances of this query must share the same top reader context to be considered equal so they are not the ideal candidate for segment level caching.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jim.ferenczi Jim Ferenczi

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment