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 22:48:07 UTC

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

     [ https://issues.apache.org/jira/browse/LUCENE-6456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrien Grand resolved LUCENE-6456.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 5.2
                   Trunk

> 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
>             Fix For: Trunk, 5.2
>
>         Attachments: LUCENE-6456.patch
>
>
> 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