On Wed, May 20, 2009 at 7:22 AM, Michael McCandless <luc...@mikemccandless.com> wrote: > So I think you're suggesting something like this: when you use Lucene, > if you want "latest and greatest" defaults, do nothing. > > If instead you want defaults to match a particular past minor release, > you must call (say) LuceneVersions.setVersion(VERSION_21).
Either way would work - we could reverse it for stronger back compat if desired. For 3.0, and all 3.x releases, set actsAsVersion=30000 by default in Lucene. A program could set actsAsVersion=LUCENE_VERSION_ANY (999999) and always get new behavior, or just choose the specific version they are using to test/develop with; actsAsVersion=30201 to get the behavior changes of 3.2.1 But since 3.0 is a major release anyway, we could change the default of actsAsVersion with each 3.x release (or just set it to 39999) and require that a users set actsAsVersion=30000 (or whatever version they are on) in order to get maximum back compatibility. For 2.9, we could start changing behavior and default actsAsVersion=20401 (or 20499?) to act like the latest 2.4.x release. And we could still leisurely proceed with Settings classes where they made sense. -Yonik http://www.lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org