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

ASF subversion and git services commented on LUCENE-6855:
---------------------------------------------------------

Commit 1710977 from [~jpountz] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1710977 ]

LUCENE-6855: Deprecate CachingWrapperQuery.

> 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
>             Fix For: 6.0, 5.4
>
>
> 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