Hi,
Am a newbie to Lucene search API. I keep getting following exception when updating Lucene index...why do i get this error and how do i avoid it?
System.IO.IOException: Lock obtain timed out: SimpleFSLock@C:\Indexes\write.lock
at Lucene.Net.Store.Lock.Obtain(Int64 lockWaitTimeout)
at Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean create, Boolean closeDir)
at Lucene.Net.Index.IndexWriter.Init(String path, Analyzer a, Boolean create)
at Lucene.Net.Index.IndexWriter..ctor(String path, Analyzer a, Boolean create)
Thanks for reading.