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

LRUQueryCache.onQueryCache is always called with null as first parameter

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.4.1, 6.5.1, 7.0
    • Fix Version/s: 6.6, 7.0
    • Component/s: core/search
    • Labels:
      None
    • Lucene Fields:
      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

            • Assignee:
              Unassigned
              Reporter:
              christophk Christoph Kaser
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: