Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 39343 invoked from network); 8 Mar 2010 19:11:23 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Mar 2010 19:11:23 -0000 Received: (qmail 38386 invoked by uid 500); 8 Mar 2010 19:10:58 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 38348 invoked by uid 500); 8 Mar 2010 19:10:58 -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 38341 invoked by uid 99); 8 Mar 2010 19:10:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Mar 2010 19:10:58 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [74.125.83.48] (HELO mail-gw0-f48.google.com) (74.125.83.48) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Mar 2010 19:10:57 +0000 Received: by gwaa11 with SMTP id a11so2855993gwa.35 for ; Mon, 08 Mar 2010 11:10:35 -0800 (PST) MIME-Version: 1.0 Received: by 10.150.117.19 with SMTP id p19mr1703834ybc.275.1268075435496; Mon, 08 Mar 2010 11:10:35 -0800 (PST) In-Reply-To: <2D127F11DC79714E9B6A43AC9458147F366625DE@suex07-mbx-03.ad.syr.edu> References: <9ac0c6aa1002260950q3ebb0638y917d7203435de1ec@mail.gmail.com> <9ac0c6aa1003020255h5eb6be80o2dc53dfba0105c05@mail.gmail.com> <20100302211240.GA21283@rectangular.com> <9ac0c6aa1003040923n3018c06bqf401d3f700fd5dbc@mail.gmail.com> <20100305185417.GA5510@rectangular.com> <9ac0c6aa1003060207v58918446r4a920ad107d7eda1@mail.gmail.com> <20100307182151.GA14347@rectangular.com> <9ac0c6aa1003081013q11a8724etcd424b9b4599695@mail.gmail.com> <2D127F11DC79714E9B6A43AC9458147F366625DA@suex07-mbx-03.ad.syr.edu> <2D127F11DC79714E9B6A43AC9458147F366625DE@suex07-mbx-03.ad.syr.edu> Date: Mon, 8 Mar 2010 14:10:35 -0500 Message-ID: <9ac0c6aa1003081110y2054fea2ic78f5294ec7d99ef@mail.gmail.com> Subject: Re: Baby steps towards making Lucene's scoring more flexible... From: Michael McCandless To: java-dev@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Mon, Mar 8, 2010 at 2:07 PM, Steven A Rowe wrote: > On 03/08/2010 at 1:57 PM, Steven A Rowe wrote: >> On 03/08/2010 at 1:13 PM, Michael McCandless wrote: >> > On Sun, Mar 7, 2010 at 1:21 PM, Marvin Humphrey >> > wrote: >> > > On Sat, Mar 06, 2010 at 05:07:18AM -0500, Michael McCandless wrote: >> > > > > What's the flex API for specifying a custom posting format? >> > > > >> > > > You implement a Codecs class, which within it knows about any numb= er >> > > > of Codec impls that it can retrieve by name. >> > > >> > > So you have both a class named "Codec" and a class named "Codecs"? >> > > >> > > Tell me, is this an array of Codecs or a Codecs? >> > > >> > > =A0 return codecs; >> > >> > Probably a Codecs instance ;) >> > >> > Yeah it's not ideal... maybe rename Codecs -> CodecProvider? >> > CodecFactory? =A0Codecs purpose is to 1) provide the Codec that'll wri= te >> > a new segment, and 2) lookup codecs by String name (when reading >> > previously written segments). >> >> Some even less likely suggestions :) : CodecMap, CodecBroker, >> CodecSteward, CodecCurator, CodecLibrary, CodecCatalog > > Or how about CodecMaster - master both in the sense of an original from w= hich copies are made, and in the sense of one having control. Well... it's not really a master in the first sense (like a master key), ie, we don't copy it. We ask it to give us a Codec. And in the 2nd sense... I don't like that word sense (nor "slave") so I try hard not to use these terms anymore. So far my fav is still CodecProvider ;) Naming is the hardest part!! Mike --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org