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

Michael McCandless commented on LUCENE-6855:
--------------------------------------------

+1

> Deprecate CachingWrapperQuery
> -----------------------------
>
>                 Key: LUCENE-6855
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6855
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>
> I propose that we deprecate CachingWrapperQuery in favour of LRUQueryCache. I 
> think the latter is much more convenient as
>  - caching will happen automatically when scores are not needed and filters 
> are reused
>  - it allows to configure a maximum ram budget
>  - it doesn't require to insert a Query object in the query tree that might 
> prevent to simplify some queries via rewriting



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to