Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 27350 invoked from network); 4 Apr 2007 23:03:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Apr 2007 23:03:01 -0000 Received: (qmail 7549 invoked by uid 500); 4 Apr 2007 23:03:00 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 7414 invoked by uid 500); 4 Apr 2007 23:03:00 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 7385 invoked by uid 99); 4 Apr 2007 23:03:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2007 16:03:00 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2007 16:02:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6BFBC714068 for ; Wed, 4 Apr 2007 16:02:32 -0700 (PDT) Message-ID: <12733114.1175727752438.JavaMail.jira@brutus> Date: Wed, 4 Apr 2007 16:02:32 -0700 (PDT) From: "Otis Gospodnetic (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Updated: (LUCENE-853) Caching does not work when using RMI In-Reply-To: <23918375.1175142685178.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otis Gospodnetic updated LUCENE-853: ------------------------------------ Attachment: RemoteCachingWrapperFilter.patch Here is a cleaned up version. - Changed CachingWrapperFilter - private -> protected vars, so CachingWrapperFilterHelper can extend it - Expanded unit tests to be more convincing - Javadocs all fixed up + cosmetics + code comments n.b. The @todo in CachingWrapperFilter can go now: /** * @todo What about serialization in RemoteSearchable? Caching won't work. * Should transient be removed? */ protected transient Map cache; We keep the transient, and if you want remote caching, use RemoteCachingWrapperFilter. I'll commit on Friday. > Caching does not work when using RMI > ------------------------------------ > > Key: LUCENE-853 > URL: https://issues.apache.org/jira/browse/LUCENE-853 > Project: Lucene - Java > Issue Type: New Feature > Components: Search > Affects Versions: 2.1 > Environment: All > Reporter: Matt Ericson > Priority: Minor > Attachments: RemoteCachingWrapperFilter.patch, RemoteCachingWrapperFilter.patch, RemoteCachingWrapperFilter.patch, RemoteCachingWrapperFilter.patch .patch > > > Filters and caching uses transient maps so that caching does not work if you are using RMI and a remote searcher > I want to add a new RemoteCachededFilter that will make sure that the caching is done on the remote searcher side > -- 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: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org