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/04/28 20:32:06 UTC

[jira] [Created] (LUCENE-6456) Don't cache queries that are too large for the query cache

Adrien Grand created LUCENE-6456:
------------------------------------

             Summary: Don't cache queries that are too large for the query cache
                 Key: LUCENE-6456
                 URL: https://issues.apache.org/jira/browse/LUCENE-6456
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Adrien Grand
            Assignee: Adrien Grand
            Priority: Minor


We have a default query cache with a reasonable size: 32MB. However if you happen to have a large index (eg. 1B docs), this might be too small even to store a single cached filter. In such cases we should not even try to cache instead of generating cache entries and trashing them immediately.



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