public void SetWeightingScheme(Weight weight) { XapianPINVOKE.Enquire_SetWeightingScheme(swigCPtr, Weight.getCPtr(weight)); if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve(); }