When are deletions permanent?

2005-02-07 Thread Christian Rodriguez
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

Re: When are deletions permanent?

2005-02-07 Thread yahootintin . 1247688
When you close the IndexReader you know the delete is commited to disk. I believe calling the "commit" method will also guarantee that all changes are written to disk. --- Lucene Users List" > I need to "update a document" in Lucene. I already know that for that > I need to do a delete (I