lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Lucene 2.9 and deprecated IR.open() methods
Date Sat, 03 Oct 2009 09:28:04 GMT
On Fri, Oct 2, 2009 at 10:18 PM, Earwin Burrfoot <earwin@gmail.com> wrote:

> Builder pattern allows you to switch concrete implementations as you
> please, taking parameters into account or not.

We could also achieve this w/ static "factory" method.  EG
IndexReader.open(IndexReader.Config) could switch between concrete
impls (it already does today).

Mike

---------------------------------------------------------------------
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