Ejemplo n.º 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();
     }
 }
Ejemplo n.º 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();
     }
 }
Ejemplo n.º 3
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);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 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();
     }
 }