You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2015/04/28 21:22:06 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14517827#comment-14517827 ] 

Robert Muir commented on LUCENE-6456:
-------------------------------------

+1

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