예제 #1
0
 public Document(Document other) : this(XapianPINVOKE.new_Document__SWIG_0(Document.getCPtr(other)), true)
 {
     if (XapianPINVOKE.SWIGPendingException.Pending)
     {
         throw XapianPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public void SetDocument(Document doc)
 {
     XapianPINVOKE.TermGenerator_SetDocument(swigCPtr, Document.getCPtr(doc));
     if (XapianPINVOKE.SWIGPendingException.Pending)
     {
         throw XapianPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #3
0
 public override void Apply(Document doc, double wt)
 {
     XapianPINVOKE.ValueCountMatchSpy_Apply(swigCPtr, Document.getCPtr(doc), wt);
     if (XapianPINVOKE.SWIGPendingException.Pending)
     {
         throw XapianPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #4
0
 public virtual void Apply(Document doc, double wt)
 {
     XapianPINVOKE.MatchSpy_Apply(swigCPtr, Document.getCPtr(doc), wt);
     if (XapianPINVOKE.SWIGPendingException.Pending)
     {
         throw XapianPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #5
0
 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();
     }
 }
예제 #6
0
        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);
        }
예제 #7
0
        public uint AddDocument(Document document)
        {
            uint ret = XapianPINVOKE.WritableDatabase_AddDocument(swigCPtr, Document.getCPtr(document));

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #8
0
        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);
        }
예제 #9
0
        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);
        }
예제 #10
0
        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);
        }