示例#1
0
 public ScoredExtentResultVector(ScoredExtentResultVector other) : this(indri_csharpPINVOKE.new_ScoredExtentResultVector__SWIG_1(ScoredExtentResultVector.getCPtr(other)), true)
 {
     if (indri_csharpPINVOKE.SWIGPendingException.Pending)
     {
         throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public ScoredExtentResultVectorEnumerator(ScoredExtentResultVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
示例#3
0
 public void set(string key, ScoredExtentResultVector x)
 {
     indri_csharpPINVOKE.MResults_set(swigCPtr, key, ScoredExtentResultVector.getCPtr(x));
     if (indri_csharpPINVOKE.SWIGPendingException.Pending)
     {
         throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#4
0
 public void SetRange(int index, ScoredExtentResultVector values)
 {
     indri_csharpPINVOKE.ScoredExtentResultVector_SetRange(swigCPtr, index, ScoredExtentResultVector.getCPtr(values));
     if (indri_csharpPINVOKE.SWIGPendingException.Pending)
     {
         throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#5
0
        public ScoredExtentResultVector getResults()
        {
            ScoredExtentResultVector ret = new ScoredExtentResultVector(indri_csharpPINVOKE.QueryAnnotation_getResults(swigCPtr), false);

            if (indri_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#6
0
        public override string expand(string originalQuery, ScoredExtentResultVector results)
        {
            string ret = indri_csharpPINVOKE.RMExpander_expand(swigCPtr, originalQuery, ScoredExtentResultVector.getCPtr(results));

            if (indri_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#7
0
        public ScoredExtentResultVector expressionList(string expression)
        {
            ScoredExtentResultVector ret = new ScoredExtentResultVector(indri_csharpPINVOKE.QueryEnvironment_expressionList__SWIG_1(swigCPtr, expression), true);

            if (indri_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#8
0
        public ScoredExtentResultVector get(string key)
        {
            ScoredExtentResultVector ret = new ScoredExtentResultVector(indri_csharpPINVOKE.MResults_get(swigCPtr, key), false);

            if (indri_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#9
0
        public ScoredExtentResultVector runQuery(string query, IntVector documentSet, int resultsRequested)
        {
            ScoredExtentResultVector ret = new ScoredExtentResultVector(indri_csharpPINVOKE.QueryEnvironment_runQuery__SWIG_1(swigCPtr, query, IntVector.getCPtr(documentSet), resultsRequested), true);

            if (indri_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#10
0
        public ParsedDocumentVector documents(ScoredExtentResultVector results)
        {
            ParsedDocumentVector ret = new ParsedDocumentVector(indri_csharpPINVOKE.QueryEnvironment_documents__SWIG_1(swigCPtr, ScoredExtentResultVector.getCPtr(results)), true);

            if (indri_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#11
0
        public ScoredExtentResultVector runExpandedQuery(string originalQuery, int resultsRequested)
        {
            ScoredExtentResultVector ret = new ScoredExtentResultVector(indri_csharpPINVOKE.QueryExpander_runExpandedQuery__SWIG_1(swigCPtr, originalQuery, resultsRequested), true);

            if (indri_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#12
0
        public StringVector documentMetadata(ScoredExtentResultVector documentIDs, string attributeName)
        {
            StringVector ret = new StringVector(indri_csharpPINVOKE.QueryEnvironment_documentMetadata__SWIG_1(swigCPtr, ScoredExtentResultVector.getCPtr(documentIDs), attributeName), true);

            if (indri_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#13
0
        public static ScoredExtentResultVector Repeat(ScoredExtentResult value, int count)
        {
            IntPtr cPtr = indri_csharpPINVOKE.ScoredExtentResultVector_Repeat(ScoredExtentResult.getCPtr(value), count);
            ScoredExtentResultVector ret = (cPtr == IntPtr.Zero) ? null : new ScoredExtentResultVector(cPtr, true);

            if (indri_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#14
0
        public ScoredExtentResultVector GetRange(int index, int count)
        {
            IntPtr cPtr = indri_csharpPINVOKE.ScoredExtentResultVector_GetRange(swigCPtr, index, count);
            ScoredExtentResultVector ret = (cPtr == IntPtr.Zero) ? null : new ScoredExtentResultVector(cPtr, true);

            if (indri_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#15
0
 public ScoredExtentResultVector runQuery(string query, IntVector documentSet, int resultsRequested)
 {
     ScoredExtentResultVector ret = new ScoredExtentResultVector(indri_csharpPINVOKE.QueryEnvironment_runQuery__SWIG_1(swigCPtr, query, IntVector.getCPtr(documentSet), resultsRequested), true);
     if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
示例#16
0
 public ScoredExtentResultVector expressionList(string expression)
 {
     ScoredExtentResultVector ret = new ScoredExtentResultVector(indri_csharpPINVOKE.QueryEnvironment_expressionList__SWIG_1(swigCPtr, expression), true);
     if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
示例#17
0
 public ParsedDocumentVector documents(ScoredExtentResultVector results)
 {
     ParsedDocumentVector ret = new ParsedDocumentVector(indri_csharpPINVOKE.QueryEnvironment_documents__SWIG_1(swigCPtr, ScoredExtentResultVector.getCPtr(results)), true);
     if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
示例#18
0
 public StringVector documentMetadata(ScoredExtentResultVector documentIDs, string attributeName)
 {
     StringVector ret = new StringVector(indri_csharpPINVOKE.QueryEnvironment_documentMetadata__SWIG_1(swigCPtr, ScoredExtentResultVector.getCPtr(documentIDs), attributeName), true);
     if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
示例#19
0
 internal static HandleRef getCPtr(ScoredExtentResultVector obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
示例#20
0
文件: MResults.cs 项目: oroszgy/sefh
 public ScoredExtentResultVector get(string key)
 {
     ScoredExtentResultVector ret = new ScoredExtentResultVector(indri_csharpPINVOKE.MResults_get(swigCPtr, key), false);
     if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
示例#21
0
 public ScoredExtentResultVector runExpandedQuery(string originalQuery, int resultsRequested) {
   ScoredExtentResultVector ret = new ScoredExtentResultVector(indri_csharpPINVOKE.QueryExpander_runExpandedQuery__SWIG_1(swigCPtr, originalQuery, resultsRequested), true);
   if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
示例#22
0
 public void SetRange(int index, ScoredExtentResultVector values)
 {
     indri_csharpPINVOKE.ScoredExtentResultVector_SetRange(swigCPtr, index, ScoredExtentResultVector.getCPtr(values));
     if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
 }
示例#23
0
 public ScoredExtentResultVector getResults() {
   ScoredExtentResultVector ret = new ScoredExtentResultVector(indri_csharpPINVOKE.QueryAnnotation_getResults(swigCPtr), false);
   if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
示例#24
0
文件: MResults.cs 项目: oroszgy/sefh
 public void set(string key, ScoredExtentResultVector x)
 {
     indri_csharpPINVOKE.MResults_set(swigCPtr, key, ScoredExtentResultVector.getCPtr(x));
     if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
 }
示例#25
0
 internal static HandleRef getCPtr(ScoredExtentResultVector obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
示例#26
0
 public override string expand(string originalQuery, ScoredExtentResultVector results) {
   string ret = indri_csharpPINVOKE.RMExpander_expand(swigCPtr, originalQuery, ScoredExtentResultVector.getCPtr(results));
   if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
示例#27
0
 public ScoredExtentResultVectorEnumerator(ScoredExtentResultVector collection)
 {
     collectionRef = collection;
       currentIndex = -1;
       currentObject = null;
       currentSize = collectionRef.Count;
 }