You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2015/10/27 14:09:27 UTC

[jira] [Created] (LUCENE-6855) Deprecate CachingWrapperQuery

Adrien Grand created LUCENE-6855:
------------------------------------

             Summary: 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