Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2440F9F2A for ; Mon, 16 Apr 2012 13:14:42 +0000 (UTC) Received: (qmail 90154 invoked by uid 500); 16 Apr 2012 13:14:40 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 90107 invoked by uid 500); 16 Apr 2012 13:14:40 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 90089 invoked by uid 99); 16 Apr 2012 13:14:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2012 13:14:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2012 13:14:39 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 748EB353326 for ; Mon, 16 Apr 2012 13:14:19 +0000 (UTC) Date: Mon, 16 Apr 2012 13:14:19 +0000 (UTC) From: "Shawn Heisey (Commented) (JIRA)" To: dev@lucene.apache.org Message-ID: <325164044.28401.1334582059496.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <421096831.18515.1320952491576.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SOLR-2889) Implement Adaptive Replacement Cache MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-2889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13254671#comment-13254671 ] Shawn Heisey commented on SOLR-2889: ------------------------------------ After thinking about what ended up being the final code for SOLR-2906, I know that I won't be able to tackle this, but I am wondering whether this is really necessary any more. The timeDecay option on the LFU cache implementation could be viewed as an LRU tweak to the LFU cache, which I think fulfills my original goals even if it's not a true ARC cache. Does that mean this issue should be closed? I can't say. I hope someone really smart is able to provide some serious speed optimization for the new LFU cache. > Implement Adaptive Replacement Cache > ------------------------------------ > > Key: SOLR-2889 > URL: https://issues.apache.org/jira/browse/SOLR-2889 > Project: Solr > Issue Type: New Feature > Components: search > Affects Versions: 3.4 > Reporter: Shawn Heisey > Priority: Minor > > Currently Solr's caches are LRU, which doesn't look at hitcount to decide which entries are most important. There is a method that takes both frequency and time of cache hits into account: > http://en.wikipedia.org/wiki/Adaptive_Replacement_Cache > If it's feasible, this could be a good addition to Solr/Lucene. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org