lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Rodriguez <crodrig...@gmail.com>
Subject When are deletions permanent?
Date Mon, 07 Feb 2005 21:20:21 GMT
Hi everyone,

I need to "update a document" in Lucene. I already know that for that
I need to do a delete (IndexReader) and then an add (IndexWriter). I
also know that the deletion means been marked as deleted, until
optimize().

My question is, when am I SURE that the mark is "commited" to disk? I
mean, suppose that there is a crash while Im doing a deletion. Could
it be that when I recover and check Lucene, the item is still there?
At which point Im 100% sure the deletion is permanent?

What about adds?

Thanks,
Christian

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


Mime
View raw message