public TermGenerator() : this(XapianPINVOKE.new_TermGenerator(), true) { if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve(); }