[Xapian-discuss] get_lastdocid, multiple connections

Ivar Bratberg ib at imaker.no
Fri Mar 11 12:14:44 GMT 2005


After adding a document to a writable db, I use get_lastdocid to get the
id of the last document added.  If I have several threads accessing the
db through different db connections, how can I now that this is the
correct ID I get, and not the one which was added through another
connection ?  
Best regards
IB




More information about the Xapian-discuss mailing list