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

Robert Muir commented on LUCENE-6784:
-------------------------------------

Thats true, I guess there is always the situation of consumers' tests. I'm not 
sure there is a real issue here: but its good to avoid any traps that would 
only be caught in production.

Alternatively the cache could just be sized as min(32MB, 5% heap) or something, 
so that if you run with a 256MB heap you still get cache, just a 12.8MB one.

> Enable query caching by default
> -------------------------------
>
>                 Key: LUCENE-6784
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6784
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>             Fix For: 5.4
>
>         Attachments: LUCENE-6784.patch
>
>
> Now that our main queries have become immutable, I would like to revisit 
> enabling the query cache by default.



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