lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: Sys properties Was: java.io.tmpdir as lock dir .... once again
Date Wed, 03 Mar 2004 20:46:23 GMT
Stephane James Vaucher wrote:
> As I've stated in my earlier mail, I like this change. More importantly, 
> could this become a "standard" way of changing configurations at runtime? 
> For example, the default merge factor could also be set in this manner.

Sure, that's reasonable, so this would be something like:

private static final int DEFAULT_MERGE_FACTOR =
 
Integer.parseInt(System.getProperty("org.apache.lucene.mergeFactor","10"));

In IndexWriter.java.

What other candidates are there for this treatment?

Doug

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


Mime
View raw message