lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven A Rowe <sar...@syr.edu>
Subject RE: Baby steps towards making Lucene's scoring more flexible...
Date Mon, 08 Mar 2010 18:57:18 GMT
On 03/08/2010 at 1:13 PM, Michael McCandless wrote:
> On Sun, Mar 7, 2010 at 1:21 PM, Marvin Humphrey
> <marvin@rectangular.com> 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 number
> > > 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?
> > 
> >   return codecs;
> 
> Probably a Codecs instance ;)
> 
> Yeah it's not ideal... maybe rename Codecs -> CodecProvider?
> CodecFactory?  Codecs purpose is to 1) provide the Codec that'll
> write 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

Steve


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message