Esempio n. 1
0
        public uint GetWdfUpperBound(string term)
        {
            uint ret = XapianPINVOKE.Database_GetWdfUpperBound(swigCPtr, term);

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public PositionIterator Next()
        {
            PositionIterator ret = new PositionIterator(XapianPINVOKE.PositionIterator_Next(swigCPtr), true);

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public string GetDescription()
        {
            string ret = XapianPINVOKE.PositionIterator_GetDescription(swigCPtr);

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 4
0
        public override string Name()
        {
            string ret = XapianPINVOKE.TradWeight_Name(swigCPtr);

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 5
0
        public override double GetSumExtra(uint doclen)
        {
            double ret = XapianPINVOKE.TradWeight_GetSumExtra(swigCPtr, doclen);

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 6
0
        public virtual bool AtEnd()
        {
            bool ret = XapianPINVOKE.PostingSource_AtEnd(swigCPtr);

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 7
0
        public virtual uint GetTermfreqMax()
        {
            uint ret = XapianPINVOKE.PostingSource_GetTermfreqMax(swigCPtr);

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 8
0
        public TermIterator SpellingsEnd()
        {
            TermIterator ret = new TermIterator(XapianPINVOKE.Database_SpellingsEnd(swigCPtr), true);

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 9
0
        public TermIterator SynonymsEnd(string arg0)
        {
            TermIterator ret = new TermIterator(XapianPINVOKE.Database_SynonymsEnd(swigCPtr, arg0), true);

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 10
0
        public string GetSpellingSuggestion(string word, uint max_edit_distance)
        {
            string ret = XapianPINVOKE.Database_GetSpellingSuggestion__SWIG_0(swigCPtr, word, max_edit_distance);

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 11
0
        public string GetSpellingSuggestion(string word)
        {
            string ret = XapianPINVOKE.Database_GetSpellingSuggestion__SWIG_1(swigCPtr, word);

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 12
0
        public Document GetDocument(uint did)
        {
            Document ret = new Document(XapianPINVOKE.Database_GetDocument(swigCPtr, did), true);

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 13
0
        public uint GetDocLength(uint docid)
        {
            uint ret = XapianPINVOKE.Database_GetDocLength(swigCPtr, docid);

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 14
0
        public ValueIterator ValuestreamEnd(uint arg0)
        {
            ValueIterator ret = new ValueIterator(XapianPINVOKE.Database_ValuestreamEnd(swigCPtr, arg0), true);

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 15
0
        public virtual double GetWeight()
        {
            double ret = (SwigDerivedClassHasMethod("GetWeight", swigMethodTypes3) ? XapianPINVOKE.PostingSource_GetWeightSwigExplicitPostingSource(swigCPtr) : XapianPINVOKE.PostingSource_GetWeight(swigCPtr));

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 16
0
        public TermIterator SynonymKeysBegin()
        {
            TermIterator ret = new TermIterator(XapianPINVOKE.Database_SynonymKeysBegin__SWIG_1(swigCPtr), true);

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 17
0
        public virtual bool Check(uint did, double min_wt)
        {
            bool ret = (SwigDerivedClassHasMethod("Check", swigMethodTypes7) ? XapianPINVOKE.PostingSource_CheckSwigExplicitPostingSource(swigCPtr, did, min_wt) : XapianPINVOKE.PostingSource_Check(swigCPtr, did, min_wt));

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 18
0
        public TermIterator SynonymKeysEnd(string prefix)
        {
            TermIterator ret = new TermIterator(XapianPINVOKE.Database_SynonymKeysEnd__SWIG_0(swigCPtr, prefix), true);

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 19
0
        public virtual string Name()
        {
            string ret = (SwigDerivedClassHasMethod("Name", swigMethodTypes9) ? XapianPINVOKE.PostingSource_NameSwigExplicitPostingSource(swigCPtr) : XapianPINVOKE.PostingSource_Name(swigCPtr));

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 20
0
        public string GetMetadata(string key)
        {
            string ret = XapianPINVOKE.Database_GetMetadata(swigCPtr, key);

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 21
0
        public double GetMaxweight()
        {
            double ret = XapianPINVOKE.PostingSource_GetMaxweight(swigCPtr);

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 22
0
        public TermIterator MetadataKeysBegin(string prefix)
        {
            TermIterator ret = new TermIterator(XapianPINVOKE.Database_MetadataKeysBegin__SWIG_0(swigCPtr, prefix), true);

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 23
0
        public override double GetMaxPart()
        {
            double ret = XapianPINVOKE.TradWeight_GetMaxPart(swigCPtr);

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 24
0
        public TermIterator MetadataKeysEnd()
        {
            TermIterator ret = new TermIterator(XapianPINVOKE.Database_MetadataKeysEnd__SWIG_1(swigCPtr), true);

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public uint GetTermPos()
        {
            uint ret = XapianPINVOKE.PositionIterator_GetTermPos(swigCPtr);

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 26
0
        public string GetUuid()
        {
            string ret = XapianPINVOKE.Database_GetUuid(swigCPtr);

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public bool Equals(PositionIterator other)
        {
            bool ret = XapianPINVOKE.PositionIterator_Equals(swigCPtr, PositionIterator.getCPtr(other));

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 28
0
        public bool HasPositions()
        {
            bool ret = XapianPINVOKE.Database_HasPositions(swigCPtr);

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 29
0
        public override string GetDescription()
        {
            string ret = XapianPINVOKE.ValueMapPostingSource_GetDescription(swigCPtr);

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 30
0
        public uint GetDoclengthUpperBound()
        {
            uint ret = XapianPINVOKE.Database_GetDoclengthUpperBound(swigCPtr);

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }