public virtual bool Apply(Document doc) { bool ret = XapianPINVOKE.MatchDecider_Apply(swigCPtr, Document.getCPtr(doc)); if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve(); return ret; }