Return-Path: X-Original-To: apmail-lucene-solr-commits-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5A6909FB5 for ; Tue, 27 Dec 2011 02:03:20 +0000 (UTC) Received: (qmail 11798 invoked by uid 500); 27 Dec 2011 02:03:20 -0000 Delivered-To: apmail-lucene-solr-commits-archive@lucene.apache.org Received: (qmail 11678 invoked by uid 500); 27 Dec 2011 02:03:19 -0000 Mailing-List: contact solr-commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-commits@lucene.apache.org Received: (qmail 11671 invoked by uid 99); 27 Dec 2011 02:03:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Dec 2011 02:03:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Dec 2011 02:03:18 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 0C8B9744; Tue, 27 Dec 2011 02:02:58 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Tue, 27 Dec 2011 02:02:57 -0000 Message-ID: <20111227020257.92779.58881@eos.apache.org> Subject: =?utf-8?q?=5BSolr_Wiki=5D_Update_of_=22SolrCaching=22_by_ShawnHeisey?= Auto-Submitted: auto-generated Dear Wiki user, You have subscribed to a wiki page or wiki category on "Solr Wiki" for chan= ge notification. The "SolrCaching" page has been changed by ShawnHeisey: http://wiki.apache.org/solr/SolrCaching?action=3Ddiff&rev1=3D32&rev2=3D33 [[Solr4.0]] autowarmCount can now be specified as a percentage (ie: "= 90%") which will be evaluated relative to the number of items in the existi= ng 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 cache= s 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. = =3D=3D minSize (optional) =3D=3D - Only applicable for `FastLRUCache` . After the cache reaches its size, th= e 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` . = =3D=3D acceptableSize (optional) =3D=3D - 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 b= ring it down to `acceptableSize`. The default value is `0.95 * size`. = =3D=3D cleanupThread (optional) =3D=3D Only applicable for `FastLRUCache`. Default is set to false. If set to tr= ue, the cleanup will be run in a dedicated separate thread. Consider setti= ng 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. + = + =3D=3D timeDecay =3D=3D + Only applicable for `LFUCache` (3.6 and later). Default is true. When ena= bled, each time the cache reaches full size and entries are evicted, the ol= d entries will have their hitcount reduced so that they will eventually age= out of the cache. = =3D Types of Caches and Example Configuration =3D Below we present the cache-specific parts of the solrconfig.xml file and = its recommended settings: