Michael Gibney created SOLR-16966: ------------------------------------- Summary: Add a first-class cache for OrdinalMaps Key: SOLR-16966 URL: https://issues.apache.org/jira/browse/SOLR-16966 Project: Solr Issue Type: Improvement Affects Versions: main (10.0) Reporter: Michael Gibney
SOLR-16515 updated SlowCompositeReaderWrapper to cache OrdinalMaps in a ConcurrentHashMap. This issue proposes to replace the ConcurrentHashMap with a configurable first-class SolrCache. There are a number of benefits to this approach: # currently ordmaps are cached in an unbounded map; this change would support configurable constraints on resource consumption (number of entries, bytes, etc.) # support directly autowarming the ordMapCache (which is often an indirect target of filterCache auto-warming or static warming queries) # all the benefits of Caffeine cache (e.g. async operation, preventing double-computation) Direct autowarming of ordMapCache is particularly desirable in contexts where static warming and autowarming are not practical, such as high-core-count and large numbers of unused cores at any given time. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org