Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 52192 invoked from network); 10 Aug 2009 18:39:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Aug 2009 18:39:03 -0000 Received: (qmail 93208 invoked by uid 500); 10 Aug 2009 18:39:09 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 93109 invoked by uid 500); 10 Aug 2009 18:39: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 93101 invoked by uid 99); 10 Aug 2009 18:39:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Aug 2009 18:39:09 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.211.200] (HELO mail-yw0-f200.google.com) (209.85.211.200) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Aug 2009 18:39:01 +0000 Received: by ywh38 with SMTP id 38so4325572ywh.20 for ; Mon, 10 Aug 2009 11:38:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.58.8 with SMTP id g8mr8754352yba.347.1249929519953; Mon, 10 Aug 2009 11:38:39 -0700 (PDT) In-Reply-To: References: <9ac0c6aa0908070947i696be6f7p168b357a3a70866e@mail.gmail.com> Date: Mon, 10 Aug 2009 14:38:39 -0400 Message-ID: <9ac0c6aa0908101138r5efa847es9717dcd622e35193@mail.gmail.com> Subject: Re: Sorting cleanup and FieldCacheImpl.Entry confusion From: Michael McCandless To: java-dev@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Aug 10, 2009 at 1:57 PM, Chris Hostetter wrote: > : I don't know why Entry has "int type" and "String locale", either. =A0I > : agree it'd be cleaner for FieldSortedHitQueue to store these on its > : own, privately. > : > : Note that FieldSortedHitQueue is deprecated in favor of > : FieldValueHitQueue, and that FieldValueHitQueue doesn't cache > : comparators anymore. > > yeah ... but i'm hesitent to try and refactor that code at this point, > especitally if FieldSortedHitQueue is going to be removed in 3.0. > > I'm thinking that for the time being, it's probably simpler to just > comment those properties as being removable once FieldSortedHitQueue is > removed, and leave them out of the CacheEntry (debugging/sanity) API, > since there's no code path that will cause them to be set in > FieldCacheImpl. > > is that cool with people? Sounds good to me! Mike --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org