Rollback in lucene
Posted
by Petrick Lim
on Stack Overflow
See other posts from Stack Overflow
or by Petrick Lim
Published on 2010-05-31T09:19:27Z
Indexed on
2010/05/31
9:22 UTC
Read the original article
Hit count: 332
Is there a rollback in lucene?
I'm saving & updating database repository & lucene repository simultaneously so that the lucene index & database are in sync..
ex.
CustomerRepository.add(customer); SupplierRepository.add(supplier); CustomerLuceneRepository.add(customer); SupplierLuceneRepository.add(supplier); // If this here fails i cannot rollback the customer above DataContext.SubmitChanges();
© Stack Overflow or respective owner