You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Nhat Nguyen (JIRA)" <ji...@apache.org> on 2018/05/24 15:37:00 UTC

[jira] [Commented] (LUCENE-8144) Remove QueryCachingPolicy.ALWAYS_CACHE

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

Nhat Nguyen commented on LUCENE-8144:
-------------------------------------

I attached a patch that moves ALWAYS_CACHE to TestLRUQueryCache.

> Remove QueryCachingPolicy.ALWAYS_CACHE
> --------------------------------------
>
>                 Key: LUCENE-8144
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8144
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Adrien Grand
>            Priority: Minor
>         Attachments: LUCENE-8144.patch
>
>
> This one is trappy, it looks simple and cool but caching without evidence of reuse is usually a bad idea as it removes the ability to skip over non interesting documents.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org