Skip to content

Commit

Permalink
Adding doc/query caches
Browse files Browse the repository at this point in the history
  • Loading branch information
renekrie authored and epugh committed Mar 15, 2023
1 parent e87385b commit 15bd306
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions solr/configsets/ecommerce/conf/solrconfig.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,30 @@
</updateHandler>

<query>

<filterCache class="solr.CaffeineCache"
size="1024"
autowarmCount="256"
async="true"/>

<queryResultCache class="solr.CaffeineCache"
size="1024"
initialSize="256"
autowarmCount="128"/>

<documentCache size="512" initialSize="512" autowarmCount="0"/>

<cache name="embeddings" class="solr.CaffeineCache"
size="1024"
initialSize="128"
/>

<queryResultWindowSize>100</queryResultWindowSize>

<!-- Maximum number of documents to cache for any entry in the
queryResultCache.
-->
<queryResultMaxDocsCached>200</queryResultMaxDocsCached>
</query>

<queryParser name="querqy" class="querqy.solr.QuerqyDismaxQParserPlugin">
Expand Down

0 comments on commit 15bd306

Please sign in to comment.