Re: FSDirectory.setDisableLocks

2009-08-15 Thread Shai Erera
Thanks Mike. Shai On Sat, Aug 15, 2009 at 12:49 PM, Michael McCandless < luc...@mikemccandless.com> wrote: > You could also use NoLockFactory. > > Disabling locks just means Lucene stops checking if another writer has > the index open (the write.lock file). > > It's extremely dangerous to do, un

Re: FSDirectory.setDisableLocks

2009-08-15 Thread Michael McCandless
You could also use NoLockFactory. Disabling locks just means Lucene stops checking if another writer has the index open (the write.lock file). It's extremely dangerous to do, unless you are absolutely certain your application level locking properly implements the protection. It will quickly lead