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/08/20 15:31:46 UTC

[jira] [Updated] (LUCENE-6748) The query cache should not cache trivial queries

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

Adrien Grand updated LUCENE-6748:
---------------------------------
    Attachment: LUCENE-6748.patch

Here is a patch.

> The query cache should not cache trivial queries
> ------------------------------------------------
>
>                 Key: LUCENE-6748
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6748
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>         Attachments: LUCENE-6748.patch
>
>
> The query cache already avoids caching term queries because they are cheap, but it doesn't do it with even cheaper queries like MatchAllDocsQuery.



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