lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "SolrCaching" by ShawnHeisey
Date Tue, 27 Dec 2011 02:02:57 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "SolrCaching" page has been changed by ShawnHeisey:
http://wiki.apache.org/solr/SolrCaching?action=diff&rev1=32&rev2=33

  <!> [[Solr4.0]] autowarmCount can now be specified as a percentage (ie: "90%") which
will be evaluated relative to the number of items in the existing cache.  This can be an advantageous
setting in an instance of Solr where you don't expect any search traffic (ie a master), but
you want some caches so that if it does take on traffic it won't be too overloaded.  Once
the traffic dies down, subsequent commits will gradually decrease the number of items being
warmed.
  
  == minSize (optional) ==
- Only applicable for `FastLRUCache` . After the cache reaches its size, the cache tries to
bring it down to the `minSize`. The default value is `0.9 * size` .
+ Only applicable for `FastLRUCache`. After the cache reaches its size, the cache tries to
bring it down to the `minSize`. The default value is `0.9 * size` .
  
  == acceptableSize (optional) ==
- Only applicable for `FastLRUCache` . When the cache removes old entries , it targets to
achieve the `minSize`. If not possible it at least tries to bring it down to `acceptableSize`.
 The default value is `0.95 * size`.
+ Only applicable for `FastLRUCache`. When the cache removes old entries , it targets to achieve
the `minSize`. If not possible it at least tries to bring it down to `acceptableSize`.  The
default value is `0.95 * size`.
  
  == cleanupThread (optional) ==
  Only applicable for `FastLRUCache`. Default is set to false. If set to true, the cleanup
will be run in a dedicated separate thread.  Consider setting this to true for very large
cache sizes, as the cache cleanup (triggered when the cache size reaches the upper water mark)
can take some time.
+ 
+ == timeDecay ==
+ Only applicable for `LFUCache` (3.6 and later). Default is true. When enabled, each time
the cache reaches full size and entries are evicted, the old entries will have their hitcount
reduced so that they will eventually age out of the cache.
  
  = Types of Caches and Example Configuration =
  Below we present the cache-specific parts of the solrconfig.xml file and its recommended
settings:

Mime
View raw message