[ https://issues.apache.org/jira/browse/LUCENE-6784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrien Grand updated LUCENE-6784: --------------------------------- Attachment: LUCENE-6784.patch Here is a patch. The default cache has a size of 32MB and I added a heuristic to only enable it if this would represent less than 5% of the total memory that is available to the JVM. If you think this heuristic is too complicated I can remove it... > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org