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 EC5FEADC1 for ; Mon, 19 Dec 2011 16:23:55 +0000 (UTC) Received: (qmail 50186 invoked by uid 500); 19 Dec 2011 16:23:55 -0000 Delivered-To: apmail-lucene-solr-commits-archive@lucene.apache.org Received: (qmail 50025 invoked by uid 500); 19 Dec 2011 16:23:55 -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 50018 invoked by uid 99); 19 Dec 2011 16:23:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Dec 2011 16:23:54 +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; Mon, 19 Dec 2011 16:23:53 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id D65D9969; Mon, 19 Dec 2011 16:23:33 +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: Mon, 19 Dec 2011 16:23:33 -0000 Message-ID: <20111219162333.50581.22705@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=3D30&rev2=3D31 Comment: Added LFUCache. Removed ".search" from class names for caches. = The ''current'' Index Searcher serves requests and when a ''new'' searche= r is opened, the new one is auto-warmed while the current one is still serv= ing external requests. When the new one is ready, it will be ''registered''= as the ''current'' searcher and will handle any new search requests. The = old searcher will be closed after all request it was servicing finish. Th= e current Searcher is used as the source of auto-warming. When a new search= er is opened, its caches may be prepopulated or "autowarmed" using data fro= m caches in the old searcher. = - There are currently two cache implementations =E2=80=94 solr.search.LRUCa= che (LRU =3D Least Recently Used in memory), and solr.search.FastLRUCache. + There are currently three cache implementations =E2=80=94 solr.LRUCache (= LRU =3D Least Recently Used in memory), solr.FastLRUCache, and solr.LFUCach= e (Least Frequenty Used). = - [[Solr1.4]] FastLRUCache is a 1.4 feature + [[Solr1.4]] FastLRUCache is a 1.4 feature = + [[Solr4.0]] LFUCache is a 4.0 feature = =3D Common Cache Configuration Parameters =3D Caching configuration is set-up in the Query section of [[SolrConfigXml|s= olrconfig.xml]]. For most caches, you can set the following parameters.... @@ -17, +18 @@ =3D=3D class =3D=3D The `SolrCache` implementation you wish to use .The available implementat= ions are = - * `solr.search.LRUCache` + * `solr.LRUCache` - * `solr.search.FastLRUCache` + * `solr.FastLRUCache` + * `solr.LFUCache` = - [[Solr1.4]] FastLRUCache is a 1.4 feature + [[Solr1.4]] FastLRUCache is a 1.4 feature = + [[Solr4.0]] LFUCache is a 4.0 feature = =3D=3D size =3D=3D The maximum number of entries in the cache.