lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-6748) The query cache should not cache trivial queries
Date Fri, 21 Aug 2015 07:17:46 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-6748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14706330#comment-14706330
] 

ASF subversion and git services commented on LUCENE-6748:
---------------------------------------------------------

Commit 1696900 from [~jpountz] in branch 'dev/trunk'
[ https://svn.apache.org/r1696900 ]

LUCENE-6748: Never cache MatchAllDocsQuery and other cheap queries.

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


Mime
View raw message