lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Terence Lai <t...@trekspace.com>
Subject Atomic updates on Lucene index document?
Date Fri, 15 Apr 2005 01:53:52 GMT
Hi all,

As far as I know, I don't find any Lucene API for updating an index document. What I have
to do is to delete the existing index document and insert a new one. However, this is going
to be 2 separate operations (delete and update). If the first operation suceeds while the
second operation fails, I don't see an easy way to roll back the changes. Does any one have
ideas on how to implement automic update in Lucene?

Thanks,
Terence




----------------------------------------------------------
Get your free email account from http://www.trekspace.com
          Your Internet Virtual Desktop!

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


Mime
View raw message