For Lucene, everything (adds & deletes) done after the last successful commit, is lost on crash/power loss/etc.
Mike On Wed, Jan 13, 2010 at 2:16 PM, jchang <jchangkihat...@gmail.com> wrote: > > > Actually, unless IW.commit is called, all changes after the last > commit will be lost (because the segment infos file will not have been > written). > > On Tue, Jan 12, 2010 at 3:37 PM, Jason Rutherglen > <jason.rutherg...@gmail.com> wrote: >> Greetin's John, >> >> 2.9 and 3.0 don't use a RAMDir... Deletes are held in RAM however so >> on power off, those would be lost. > > I'm confused; at first you said that on power off only deletes are lost, but > the later posting said unless "IW.commit is called, all changes after the > last commit will be lost." So, do I lose only deletes, or also writes and > updates in a crash? BTW, I'm using straight Lucene (or actually Lucene + > Compass), not Zoie at the moment. For some of the responses, I'm not clear > if the information applies to Zoie specifically, or also to straight Lucene. > -- > View this message in context: > http://old.nabble.com/Lucene-2.9.0-Near-Real-Time-Indexing-and-Service-Crashes-restarts-tp27136539p27148834.html > Sent from the Lucene - Java Developer mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-dev-h...@lucene.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org