lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-6855) Deprecate CachingWrapperQuery
Date Tue, 27 Oct 2015 13:52:27 GMT

    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message