public override double GetMaxPart() { double ret = XapianPINVOKE.BoolWeight_GetMaxPart(swigCPtr); if (XapianPINVOKE.SWIGPendingException.Pending) { throw XapianPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }