Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 19760 invoked from network); 5 Apr 2007 20:29:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Apr 2007 20:29:05 -0000 Received: (qmail 21122 invoked by uid 500); 5 Apr 2007 20:29:10 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 20924 invoked by uid 500); 5 Apr 2007 20:29:09 -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 20913 invoked by uid 99); 5 Apr 2007 20:29:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2007 13:29:09 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [206.190.39.202] (HELO web50311.mail.re2.yahoo.com) (206.190.39.202) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 05 Apr 2007 13:29:01 -0700 Received: (qmail 31397 invoked by uid 60001); 5 Apr 2007 20:28:40 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=z+d6ntCMX+s2h5Q/d576Fn6NcEvF2BVF8Bv5RcJRLBJHFRGbwl5G745uZ6jnAy6/mLWmrQRc6x7soR8tuJ4HRMr9sTEShwXutnUDALYT0Jz9oolQqlgneBLMsQD+BFyyAklSVF7eTIauNAMK9jMQl1OYB24i0Y7SyqsgjGNN69s=; X-YMail-OSG: .KJP2zMVM1lpdie8sulAwBeUDrShqseykv3ysVdFQzXrW8JJ9P_D4lLCTg_w7gK_gQvZ70kWk9Z9cPOxvB_o.cZl Received: from [66.92.187.33] by web50311.mail.re2.yahoo.com via HTTP; Thu, 05 Apr 2007 13:28:40 PDT X-Mailer: YahooMailRC/476 YahooMailWebService/0.7.41.8 Date: Thu, 5 Apr 2007 13:28:40 -0700 (PDT) From: Otis Gospodnetic Subject: Re: Caching in QueryFilter - why? To: java-dev@lucene.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=ascii Message-ID: <841387.31385.qm@web50311.mail.re2.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org Sounds like I need to cut that out. Since caching is built into the public BitSet bits(IndexReader reader) method, I don't see a way to deprecate that, which means I'll just cut it out and document it in CHANGES.txt. Anyone who wants QueryFilter caching will be able to get the caching back by wrapping the QueryFilter in your CachingWrapperFilter. Otis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Simpy -- http://www.simpy.com/ - Tag - Search - Share ----- Original Message ---- From: Erik Hatcher To: java-dev@lucene.apache.org Sent: Wednesday, April 4, 2007 7:38:00 PM Subject: Re: Caching in QueryFilter - why? CachingWrapperFilter came along after QueryFilter. I think I added CachingWrapperFilter when I realized that every Filter should have the capability to be cached without having to implement it. So, the only reason is "legacy". I'm perfectly fine with removing the caching from QueryFilter in a future major release. Erik On Apr 4, 2007, at 5:57 PM, Otis Gospodnetic wrote: > Hi, > > I'm looking at LUCENE-853, so I also looked at CachingWrapperFilter > and then at QueryFilter. I noticed QueryFilter does its own BitSet > caching, and the caching part of its code is nearly identical to > the code in CachingWrapperFilter. > > Why is that? Is there a good reason for that? > > Thanks, > Otis > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . > Simpy -- http://www.simpy.com/ - Tag - Search - Share > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-dev-help@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org