Skip to content

Commit

Permalink
Disable Solr caches
Browse files Browse the repository at this point in the history
- Addresses #758

Signed-off-by: Wade Barnes <wade@neoterictech.ca>
  • Loading branch information
WadeBarnes committed Oct 6, 2023
1 parent 97b1b48 commit 2779105
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions server/solr/cores/credential_registry/conf/solrconfig.xml
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@
to occupy. Note that when this option is specified, the size
and initialSize parameters are ignored.
-->
<filterCache class="solr.FastLRUCache" size="512" initialSize="512" autowarmCount="0"/>
<filterCache class="solr.FastLRUCache" size="0" initialSize="0" autowarmCount="0"/>

<!-- Query Result Cache
Expand All @@ -450,15 +450,15 @@
maxRamMB - the maximum amount of RAM (in MB) that this cache is allowed
to occupy
-->
<queryResultCache class="solr.LRUCache" size="512" initialSize="512" autowarmCount="0"/>
<queryResultCache class="solr.LRUCache" size="0" initialSize="0" autowarmCount="0"/>

<!-- Document Cache
Caches Lucene Document objects (the stored fields for each
document). Since Lucene internal document ids are transient,
this cache will not be autowarmed.
-->
<documentCache class="solr.LRUCache" size="512" initialSize="512" autowarmCount="0"/>
<documentCache class="solr.LRUCache" size="0" initialSize="0" autowarmCount="0"/>

<!-- custom cache currently used by block join -->
<cache name="perSegFilter" class="solr.search.LRUCache" size="10" initialSize="0" autowarmCount="10" regenerator="solr.NoOpRegenerator" />
Expand All @@ -469,9 +469,7 @@
by document id. The fieldValueCache is created by default
even if not configured here.
-->
<!--
<fieldValueCache class="solr.FastLRUCache" size="512" autowarmCount="128" showItems="32" />
-->
<fieldValueCache class="solr.FastLRUCache" size="100" initialSize="0" autowarmCount="0" showItems="32" />

<!-- Custom Cache
Expand Down

0 comments on commit 2779105

Please sign in to comment.