public void SetRange(int index, IntVector values) { indri_csharpPINVOKE.IntVector_SetRange(swigCPtr, index, IntVector.getCPtr(values)); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } }
public IntVector(IntVector other) : this(indri_csharpPINVOKE.new_IntVector__SWIG_1(IntVector.getCPtr(other)), true) { if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } }
public DocumentVectorVector documentVectors(IntVector documentIDs) { DocumentVectorVector ret = new DocumentVectorVector(indri_csharpPINVOKE.QueryEnvironment_documentVectors(swigCPtr, IntVector.getCPtr(documentIDs)), true); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public StringVector documentMetadata(IntVector documentIDs, string attributeName) { StringVector ret = new StringVector(indri_csharpPINVOKE.QueryEnvironment_documentMetadata__SWIG_0(swigCPtr, IntVector.getCPtr(documentIDs), attributeName), true); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public QueryAnnotation runAnnotatedQuery(string query, IntVector documentSet, int resultsRequested) { IntPtr cPtr = indri_csharpPINVOKE.QueryEnvironment_runAnnotatedQuery__SWIG_1(swigCPtr, query, IntVector.getCPtr(documentSet), resultsRequested); QueryAnnotation ret = (cPtr == IntPtr.Zero) ? null : new QueryAnnotation(cPtr, true); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
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); }