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

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

    [ 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org