lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ganesh" <emailg...@yahoo.co.in>
Subject Re: IndexReader delete
Date Thu, 18 Dec 2008 07:41:41 GMT
Any opinion on this.

----- Original Message ----- 
From: "Ganesh" <emailgane@yahoo.co.in>
To: <java-user@lucene.apache.org>
Sent: Wednesday, December 17, 2008 4:28 PM
Subject: IndexReader delete


> When i perform a delete, i am getting the following exception
>
> org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: 
> SimpleFSLock@/<path>
> org.apache.lucene.store.Lock.obtain(Lock.java:85)
> org.apache.lucene.index.DirectoryIndexReader.acquireWriteLock(DirectoryIndexReader.java:303)
> org.apache.lucene.index.IndexReader.deleteDocument(IndexReader.java:837)
>
> Indexing is done by separate process and search is performed from web ui. 
> If the DB is locked by indexing app then the records will not be deleted 
> using reader?
>
> I want the deletion to be performed by Reader, so that it will get 
> reflected in the results immediately.
>
> Regards
> Ganesh
>
>
> Send instant messages to your online friends http://in.messenger.yahoo.com
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
> 

Send instant messages to your online friends http://in.messenger.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message