Lock files aren't contained in the index directory, but in the standard temp directory. remove the file referenced in the exception: C:\DOCUME~1\harini\LOCALS~1\Temp\lucene-1b92bc48efc5c13ac4ef4ad9fd17c158-commit.lock
-Yonik On 1/9/06, Harini Raghavan <[EMAIL PROTECTED]> wrote: > Hi All, > > All of a sudden I have started getting LockTimeOut exception while > searching the index. There is no write.lock file in the index directory, > so why should this issue come while searching? I tried to delete the > index directory and restarted the server, but still no luck. What could > be wrong? > > java.io.IOException: Lock obtain timed out: > [EMAIL PROTECTED]:\DOCUME~1\harini\LOCALS~1\Temp\lucene-1b92bc > 48efc5c13ac4ef4ad9fd17c158-commit.lock > at org.apache.lucene.store.Lock.obtain(Lock.java:58) > at org.apache.lucene.store.Lock$With.run(Lock.java:108) > at org.apache.lucene.index.IndexReader.open(IndexReader.java:111) > at org.apache.lucene.index.IndexReader.open(IndexReader.java:106) > at > org.apache.lucene.search.IndexSearcher.<init>(IndexSearcher.java:43) > at > lucene.LuceneManager.refreshIndexSearcherInstance(LuceneManager.java:50) > > -Harini > > --------------------------------------------------------------------- > 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]