You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Christoph Kaser (JIRA)" <ji...@apache.org> on 2017/05/05 11:28:04 UTC

[jira] [Created] (LUCENE-7817) LRUQueryCache.onQueryCache is always called with null as first parameter

Christoph Kaser created LUCENE-7817:
---------------------------------------

             Summary: LRUQueryCache.onQueryCache is always called with null as first parameter
                 Key: LUCENE-7817
                 URL: https://issues.apache.org/jira/browse/LUCENE-7817
             Project: Lucene - Core
          Issue Type: Bug
          Components: core/search
    Affects Versions: 6.5.1, 6.4.1, master (7.0)
            Reporter: Christoph Kaser


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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org