You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Atri Sharma (JIRA)" <ji...@apache.org> on 2019/08/05 06:23:00 UTC

[jira] [Created] (LUCENE-8946) LRUQueryCache#doCache Should Be More Verbose

Atri Sharma created LUCENE-8946:
-----------------------------------

             Summary: LRUQueryCache#doCache Should Be More Verbose
                 Key: LUCENE-8946
                 URL: https://issues.apache.org/jira/browse/LUCENE-8946
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Atri Sharma


doCache does not really cache the query on its invocation. The actual caching (or checks) will happen only during scoring. doCache is basically creating the caching weight wrapper around the original weight of the query.

 

We should 1) rename the method or/and 2) update the documentation around the method explicitly calling out this facet.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org