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

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

Commit a06e685642a9615ad03816a1310db15ad752f0ca in lucene-solr's branch 
refs/heads/master from [~jimczi]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=a06e685 ]

LUCENE-8062: GlobalOrdinalsQuery is no longer eligible for caching


> Never cache GlobalOrdinalQuery
> ------------------------------
>
>                 Key: LUCENE-8062
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8062
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Jim Ferenczi
>            Priority: Minor
>             Fix For: master (8.0), 7.2
>
>         Attachments: LUCENE-8062.patch, LUCENE-8062.patch
>
>
> GlobalOrdinalsQuery holds a possibly large bitset of global ordinals that can 
> pollute the query cache because the size of the query is not accounted in the 
> memory usage of the cache.
> Moreover two instances of this query must share the same top reader context 
> to be considered equal so they are not the ideal candidate for segment level 
> caching.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to