Ok thanks I understand now. Thanks a lot. -----Original Message----- From: Michael McCandless [mailto:[EMAIL PROTECTED] Sent: 30 June 2006 16:10 To: java-user@lucene.apache.org Subject: Re: Lock File
> It's not possible to change lockDir because it's a final static > varriables? > Is it possible to change the lockDir? Correct, because it's final you cannot change it directly. But, you can set the Java system property org.apache.lucene.lockDir. This will change the lock directory, because the final lockDir is initialized by looking up that property, and if it's unset, looking up java.io.tmpdir instead. Finally if java.io.tmpdir is still unset, the directory of your index will be used. Mike --------------------------------------------------------------------- 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]