Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 26649 invoked from network); 18 May 2010 12:17:36 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 May 2010 12:17:36 -0000 Received: (qmail 46467 invoked by uid 500); 18 May 2010 12:17:35 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 46045 invoked by uid 500); 18 May 2010 12:17:34 -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 46038 invoked by uid 99); 18 May 2010 12:17:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 May 2010 12:17:33 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 May 2010 12:17:31 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4ICH9TQ028689 for ; Tue, 18 May 2010 12:17:10 GMT Message-ID: <12827617.103841274185029884.JavaMail.jira@thor> Date: Tue, 18 May 2010 08:17:09 -0400 (EDT) From: "Shay Banon (JIRA)" To: dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-2468) reopen on NRT reader should share readers w/ unchanged segments In-Reply-To: <17703553.95921274144202265.JavaMail.jira@thor> 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/LUCENE-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12868617#action_12868617 ] Shay Banon commented on LUCENE-2468: ------------------------------------ Sounds like a good solution for me. I just noticed in trunk that there is also explicit purge from FieldCache when possible. I think it would be great to enable to do this for other caches that are based on it (like the CachingWrapperFilter, but externally written ones as well). I was thinking of an expert API to allow to add a "CacheEvictionListener" or something similar, which will be called when this happens. What do you think? > reopen on NRT reader should share readers w/ unchanged segments > --------------------------------------------------------------- > > Key: LUCENE-2468 > URL: https://issues.apache.org/jira/browse/LUCENE-2468 > Project: Lucene - Java > Issue Type: Bug > Reporter: Yonik Seeley > Assignee: Michael McCandless > Attachments: LUCENE-2468.patch > > > A repoen on an NRT reader doesn't seem to share readers for those segments that are unchanged. > http://search.lucidimagination.com/search/document/9f0335d480d2e637/nrt_and_caching_based_on_indexreader -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org