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/11 14:07:04 UTC
[jira] [Resolved] (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:all-tabpanel ]
Adrien Grand resolved LUCENE-7817.
----------------------------------
Resolution: Fixed
Fix Version/s: 6.6
master (7.0)
> 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
> Fix For: master (7.0), 6.6
>
>
> 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