[Xapian-discuss] copy xapian.Document?

Andrey K alpha04 at netvigator.com
Fri Jul 27 07:41:39 BST 2007


when i try to update a document from 1 running DB to another writeable DB, i
got the follwoing error, because of the running DB has changed.

The revision being read has been discarded - you should call
Xapian::Database::reopen() and retry the operation

This might be silly, but i wonder how to actually COPY an xapian.document
(snap shot), so i can update it using the captured datas/terms..
without raising an error coz the source doc has been changed during my
updating procedures


More information about the Xapian-discuss mailing list