You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/10/22 13:52:00 UTC
[jira] [Commented] (LUCENE-8062) Never cache GlobalOrdinalQuery
[ https://issues.apache.org/jira/browse/LUCENE-8062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16957086#comment-16957086 ]
ASF subversion and git services commented on LUCENE-8062:
---------------------------------------------------------
Commit 421718607ebcf448f9931b462cce87f1e86670ce in lucene-solr's branch refs/heads/master from jimczi
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=4217186 ]
LUCENE-8062: Update CHANGES entry after backport to 8.3
> 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: 7.2, 8.0
>
> 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
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org