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

LRUQueryCache.onQueryCache is always called with null as first parameter

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.4.1, 6.5.1, 7.0
    • 6.6, 7.0
    • core/search
    • None
    • New, Patch Available

    Description

      According to the javadocs, LRUQueryCache.onQueryCache can be used to track usage statistics on cached queries. Unfortunately, due to a bug, the query parameter is always passed as null, making the method practically useless.

      This PR fixes the problem:
      https://github.com/apache/lucene-solr/pull/199

      Attachments

        Activity

          People

            Unassigned Unassigned
            christophk Christoph Kaser
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment