[
https://issues.apache.org/jira/browse/LUCENE-7817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16004418#comment-16004418
]
Christoph Kaser commented on LUCENE-7817:
-----------------------------------------
Is there anything else missing I can add?
If possible (and sensible), i would really like to get this into the next
lucene version because it causes problems in our code which I solve by manually
patching the LRUQueryCache.
> 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]