On Tue, Apr 13, 2010 at 12:41 PM, Uwe Schindler <u...@thetaphi.de> wrote:
> Hi Shai,
>
>
>
> one of the problem I have is: That is a static default! We want to get rid
> of them (and did it mostly, only some relicts remain), so there are no plans
> to reimplement such a thing again. The badest one is
> BooleanQuery.maxClauseCount. The same applies to all types of sysprops. As
> Lucene and solr is mostly running in servlet containers, this type of thing
> makes web applications no longer isolated. This is also a general contract
> for libraries: never ever rely on sysprops or statics.

Do classpath resources fall in the same undesirable category?  (e.g.
put lucene.properties in your classpath with version=X.X).  Not great
but it'd get around the container challenge, right?

--tim

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

Reply via email to