lets SOLR merge bigger segments (up to 50GB)

+ some setting to reduce caches
pull/436/head
sgaebel 3 years ago
parent e7d3a363f2
commit 1cdc55a425

@ -180,12 +180,13 @@
The default since Lucene 2.3 was the LogByteSizeMergePolicy, The default since Lucene 2.3 was the LogByteSizeMergePolicy,
Even older versions of Lucene used LogDocMergePolicy. Even older versions of Lucene used LogDocMergePolicy.
--> -->
<!-- <mergePolicyFactory class="org.apache.solr.index.TieredMergePolicyFactory">
<mergePolicyFactory class="solr.TieredMergePolicyFactory"> <int name="maxMergeAtOnce">8</int>
<int name="maxMergeAtOnce">10</int> <int name="segmentsPerTier">8</int>
<int name="segmentsPerTier">10</int> <int name="maxMergedSegmentMB">51200</int>
<int name="maxCFSSegmentSizeMB">1024</int>
<double name="noCFSRatio">0.1</double>
</mergePolicyFactory> </mergePolicyFactory>
-->
<!-- Expert: Merge Scheduler <!-- Expert: Merge Scheduler
The Merge Scheduler in Lucene controls how merges are The Merge Scheduler in Lucene controls how merges are
@ -314,8 +315,8 @@
have some sort of hard autoCommit to limit the log size. have some sort of hard autoCommit to limit the log size.
--> -->
<autoCommit> <autoCommit>
<maxTime>${solr.autoCommit.maxTime:15000}</maxTime> <maxTime>${solr.autoCommit.maxTime:180000}</maxTime>
<openSearcher>false</openSearcher> <openSearcher>true</openSearcher>
</autoCommit> </autoCommit>
<!-- softAutoCommit is like autoCommit except it causes a <!-- softAutoCommit is like autoCommit except it causes a
@ -442,8 +443,8 @@
and old cache. and old cache.
--> -->
<filterCache class="solr.FastLRUCache" <filterCache class="solr.FastLRUCache"
size="512" size="100"
initialSize="512" initialSize="100"
autowarmCount="0"/> autowarmCount="0"/>
<!-- Query Result Cache <!-- Query Result Cache
@ -467,13 +468,13 @@
initialSize="512" initialSize="512"
autowarmCount="0"/> autowarmCount="0"/>
<!-- custom cache currently used by block join --> <!-- custom cache currently used by block join
<cache name="perSegFilter" <cache name="perSegFilter"
class="solr.search.LRUCache" class="solr.search.LRUCache"
size="10" size="10"
initialSize="0" initialSize="0"
autowarmCount="10" autowarmCount="10"
regenerator="solr.NoOpRegenerator" /> regenerator="solr.NoOpRegenerator" /> -->
<!-- Field Value Cache <!-- Field Value Cache
@ -481,12 +482,11 @@
by document id. The fieldValueCache is created by default by document id. The fieldValueCache is created by default
even if not configured here. even if not configured here.
--> -->
<!--
<fieldValueCache class="solr.FastLRUCache" <fieldValueCache class="solr.FastLRUCache"
size="512" size="32"
autowarmCount="128" initialSize="0"
autowarmCount="0"
showItems="32" /> showItems="32" />
-->
<!-- Custom Cache <!-- Custom Cache

Loading…
Cancel
Save