コード例 #1
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();
     }
 }
コード例 #2
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();
     }
 }
コード例 #3
0
ファイル: RMExpander.cs プロジェクト: approach0/fork-indri
        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);
        }
コード例 #4
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);
        }
コード例 #5
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);
        }
コード例 #6
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();
     }
 }