[Xapian-discuss] Replacing with an empty Document

Liam xapian at networkimprov.net
Tue Nov 1 06:08:29 GMT 2011


What is the effect of

WritableDatabase db(...);
db.replace_document(some_id, Document()); // provide empty document

is it equivalent to db.delete_document(some_id) ?


More information about the Xapian-discuss mailing list