public override double GetSumPart(uint wdf, uint doclen) { double ret = XapianPINVOKE.BM25Weight_GetSumPart(swigCPtr, wdf, doclen); if (XapianPINVOKE.SWIGPendingException.Pending) { throw XapianPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }