Lucene uses a lock file to prevent simultaneous writes to index. You
can just delete the file at
C:\DOCUME~1\tom\LOCALS~1\Temp\Lucene-81022e186820264e5b78801c219b8e8b-commit.lock
and be on your way.
avrootshell wrote:
Hi,
I'm using using lucene for full text search.
It worked gr8.
But now when i try to search,its throwing an error like this:
.java.io.IOException: Lock obtain timed out:
[EMAIL PROTECTED]:\DOCUME~1\tom\LOCALS~1\Temp\lucene-81022e186820264e5b78801c219b8e8b-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:152)
at org.apache.lucene.index.IndexReader.open(IndexReader.java:121)
at
org.apache.lucene.search.IndexSearcher.<init>(IndexSearcher.java:39)
..............
.........
.....
Can anyone help me to find why is this happenning.
TIA.
---------------------------------------------------------------------
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]