Probably a stale lock - remove it.
Otis

----- Original Message ----
From: Harini Raghavan <[EMAIL PROTECTED]>
To: java-user@lucene.apache.org
Sent: Mon 09 Jan 2006 01:36:53 PM EST
Subject: Lock obtain timed out + IndexSearcher

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]

Reply via email to