Lucene lacks "real" transactions and that's a pity imho. I've done some
investigation on it some months ago, and there appeared to be a transacted
version lying around somewhere, but that was in Java and, I believe,
commercial.

-----Oorspronkelijk bericht-----
Van: Digy [mailto:[EMAIL PROTECTED] 
Verzonden: donderdag 8 mei 2008 19:46
Aan: lucene-net-user@incubator.apache.org
Onderwerp: RE: Is Lucene transacted when adding to index?

As far as I know, If an application crashes in the middle of indexing (using
Lucene 2.1.0.3);

-There should be no index corruption,
-Depending on the Merge factor(default 10) you can lose some lastly-added
docs.(Max 9 for default),
-Deletions are ignored(as if no deletions are made)

DIGY.

-----Original Message-----
From: Michael Siu [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 08, 2008 3:04 AM
To: lucene-net-user@incubator.apache.org
Subject: Is Lucene transacted when adding to index?

Just some dump questions from a newbie: 

- Is Lucene tractacted during 'add documents' to index? 

- What happen when the process crashes in the middle of adding to the index?

- Will Lucene auto detect if the index is corrupted (and auto fix it)?

 

Thanks.

 


Reply via email to