You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jim Ferenczi (JIRA)" <ji...@apache.org> on 2017/11/22 21:54:00 UTC
[jira] [Created] (LUCENE-8062) Never cache GlobalOrdinalQuery
Jim Ferenczi created LUCENE-8062:
------------------------------------
Summary: 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
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org