Anoterh similar issue. If we could have a parameter to control the max
number of the files within the index, that is going to avoid the problem of
running of the file handler issue.
When the file number within one index reaches the limit, optimization is
going to be called.
Right now, if the file number within one index out of the limit of your
window system, you lost the index.
Thank you for the consideration.

Regards,
hui

-----Original Message-----
From: Doug Cutting [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 03, 2004 3:46 PM
To: Lucene Users List
Subject: Re: Sys properties Was: java.io.tmpdir as lock dir .... once again

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to