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

ASF subversion and git services commented on LUCENE-7817:
---------------------------------------------------------

Commit 4465e265d90f701f61f9e2cc8eb303a4515c4764 in lucene-solr's branch 
refs/heads/branch_6x from ChristophKaser
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=4465e26 ]

LUCENE-7817: pass cached query to onQueryCache instead of null

Closes #199


> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to