public uint GetLastDocId()
{
uint ret = XapianPINVOKE.Database_GetLastDocId(swigCPtr);
if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
return ret;
}