Re: IOException: Access is denied from IndexWriter.Optimize

2006-12-05 Thread Michael McCandless
[EMAIL PROTECTED] wrote: Thank you for quick and detailed answer. In this system multiple threads will, occasionally, try to write and/ or read the same index, hence the pause waiting for the lock. This is not a good way to implement it and was done as a temp solution for debug purposes only.

Re: IOException: Access is denied from IndexWriter.Optimize

2006-12-05 Thread trond . lindanger
Thank you for quick and detailed answer. In this system multiple threads will, occasionally, try to write and/ or read the same index, hence the pause waiting for the lock. This is not a good way to implement it and was done as a temp solution for debug purposes only. Multiple processes may stil

Re: IOException: Access is denied from IndexWriter.Optimize

2006-12-05 Thread Michael McCandless
Sorry, I allowed my silly SPAM filter to pollute the subject line. I'm fixing that in this reply so please reply to this one :) Mike Michael McCandless wrote: [EMAIL PROTECTED] wrote: Hi, In my test case, four Quartz jobs are starting each third minute storing records in a database followed b

Re: IOException: Access is denied from IndexWriter.Optimize

2006-12-05 Thread Michael McCandless
[EMAIL PROTECTED] wrote: Forgot something... Also I got this exception, which may be related: java.io.IOException: Cannot delete C:\dknewscenter\2\_5d.cfs at org.apache.lucene.store.FSDirectory.create(FSDirectory.java:319) at org.apache.lucene.store.FSDirectory.getDirectory(FSD

Re: IOException: Access is denied from IndexWriter.Optimize

2006-12-05 Thread trond . lindanger
Forgot something... Also I got this exception, which may be related: java.io.IOException: Cannot delete C:\dknewscenter\2\_5d.cfs at org.apache.lucene.store.FSDirectory.create(FSDirectory.java:319) at org.apache.lucene.store.FSDirectory.getDirectory(FSDirectory.java:208)