Exemple #1
0
 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();
     }
 }
Exemple #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();
     }
 }
 public virtual void Apply(Document doc, double wt)
 {
     XapianPINVOKE.MatchSpy_Apply(swigCPtr, Document.getCPtr(doc), wt);
     if (XapianPINVOKE.SWIGPendingException.Pending)
     {
         throw XapianPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #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();
     }
 }
Exemple #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);
        }
Exemple #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);
        }
Exemple #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);
        }
Exemple #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);
        }
Exemple #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);
        }