public Document(Document other) : this(XapianPINVOKE.new_Document__SWIG_0(Document.getCPtr(other)), true) { if (XapianPINVOKE.SWIGPendingException.Pending) { throw XapianPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetDocument(Document doc) { XapianPINVOKE.TermGenerator_SetDocument(swigCPtr, Document.getCPtr(doc)); if (XapianPINVOKE.SWIGPendingException.Pending) { throw XapianPINVOKE.SWIGPendingException.Retrieve(); } }
public override void Apply(Document doc, double wt) { XapianPINVOKE.ValueCountMatchSpy_Apply(swigCPtr, Document.getCPtr(doc), wt); if (XapianPINVOKE.SWIGPendingException.Pending) { throw XapianPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual void Apply(Document doc, double wt) { XapianPINVOKE.MatchSpy_Apply(swigCPtr, Document.getCPtr(doc), wt); if (XapianPINVOKE.SWIGPendingException.Pending) { throw XapianPINVOKE.SWIGPendingException.Retrieve(); } }
public void ReplaceDocument(uint did, Document document) { XapianPINVOKE.WritableDatabase_ReplaceDocument__SWIG_0(swigCPtr, did, Document.getCPtr(document)); if (XapianPINVOKE.SWIGPendingException.Pending) { throw XapianPINVOKE.SWIGPendingException.Retrieve(); } }
public override string Apply(Document doc) { string ret = XapianPINVOKE.MultiValueSorter_Apply(swigCPtr, Document.getCPtr(doc)); if (XapianPINVOKE.SWIGPendingException.Pending) { throw XapianPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public uint AddDocument(Document document) { uint ret = XapianPINVOKE.WritableDatabase_AddDocument(swigCPtr, Document.getCPtr(document)); if (XapianPINVOKE.SWIGPendingException.Pending) { throw XapianPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public override bool Apply(Document doc) { bool ret = XapianPINVOKE.ValueSetMatchDecider_Apply(swigCPtr, Document.getCPtr(doc)); if (XapianPINVOKE.SWIGPendingException.Pending) { throw XapianPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual string Apply(Document doc) { string ret = XapianPINVOKE.KeyMaker_Apply(swigCPtr, Document.getCPtr(doc)); if (XapianPINVOKE.SWIGPendingException.Pending) { throw XapianPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public uint ReplaceDocument(string unique_term, Document document) { uint ret = XapianPINVOKE.WritableDatabase_ReplaceDocument__SWIG_1(swigCPtr, unique_term, Document.getCPtr(document)); if (XapianPINVOKE.SWIGPendingException.Pending) { throw XapianPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }