[ 
https://issues.apache.org/jira/browse/LUCENE-7817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15998302#comment-15998302
 ] 

Adrien Grand commented on LUCENE-7817:
--------------------------------------

Thanks for catching it! The change looks good, would you like to work on a test 
as well?

> 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: master (7.0), 6.4.1, 6.5.1
>            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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to