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

Deprecate CachingWrapperQuery

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

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 5.4, 6.0
    • None
    • None
    • New

    Description

      I propose that we deprecate CachingWrapperQuery in favour of LRUQueryCache. I think the latter is much more convenient as

      • caching will happen automatically when scores are not needed and filters are reused
      • it allows to configure a maximum ram budget
      • it doesn't require to insert a Query object in the query tree that might prevent to simplify some queries via rewriting

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jpountz Adrien Grand
            jpountz Adrien Grand
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment