public StringVector(StringVector other) : this(indri_csharpPINVOKE.new_StringVector__SWIG_1(StringVector.getCPtr(other)), true) { if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } }
public StringVectorEnumerator(StringVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void setMetadataIndexedFields(StringVector forward, StringVector backward) { indri_csharpPINVOKE.IndexEnvironment_setMetadataIndexedFields(swigCPtr, StringVector.getCPtr(forward), StringVector.getCPtr(backward)); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } }
public void setStopwords(StringVector stopwords) { indri_csharpPINVOKE.QueryEnvironment_setStopwords(swigCPtr, StringVector.getCPtr(stopwords)); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetRange(int index, StringVector values) { indri_csharpPINVOKE.StringVector_SetRange(swigCPtr, index, StringVector.getCPtr(values)); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } }
public void setIndexedFields(StringVector fieldNames) { indri_csharpPINVOKE.IndexEnvironment_setIndexedFields(swigCPtr, StringVector.getCPtr(fieldNames)); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } }
public StringVector fieldList() { StringVector ret = new StringVector(indri_csharpPINVOKE.QueryEnvironment_fieldList(swigCPtr), true); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
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); }
public ParsedDocumentVector documentsFromMetadata(string attributeName, StringVector attributeValue) { ParsedDocumentVector ret = new ParsedDocumentVector(indri_csharpPINVOKE.QueryEnvironment_documentsFromMetadata(swigCPtr, attributeName, StringVector.getCPtr(attributeValue)), true); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public StringVector GetRange(int index, int count) { IntPtr cPtr = indri_csharpPINVOKE.StringVector_GetRange(swigCPtr, index, count); StringVector ret = (cPtr == IntPtr.Zero) ? null : new StringVector(cPtr, true); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static StringVector Repeat(string value, int count) { IntPtr cPtr = indri_csharpPINVOKE.StringVector_Repeat(value, count); StringVector ret = (cPtr == IntPtr.Zero) ? null : new StringVector(cPtr, true); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static HandleRef getCPtr(StringVector obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
public StringVector stems() { StringVector ret = new StringVector(indri_csharpPINVOKE.DocumentVector_stems(swigCPtr), false); return(ret); }
public void setMetadataIndexedFields(StringVector forward, StringVector backward) { indri_csharpPINVOKE.IndexEnvironment_setMetadataIndexedFields(swigCPtr, StringVector.getCPtr(forward), StringVector.getCPtr(backward)); if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); }
public StringVector stems() { StringVector ret = new StringVector(indri_csharpPINVOKE.DocumentVector_stems(swigCPtr), false); return ret; }
public void setStopwords(StringVector stopwords) { indri_csharpPINVOKE.QueryEnvironment_setStopwords(swigCPtr, StringVector.getCPtr(stopwords)); if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); }
public StringVector fieldList() { StringVector ret = new StringVector(indri_csharpPINVOKE.QueryEnvironment_fieldList(swigCPtr), true); if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public ParsedDocumentVector documentsFromMetadata(string attributeName, StringVector attributeValue) { ParsedDocumentVector ret = new ParsedDocumentVector(indri_csharpPINVOKE.QueryEnvironment_documentsFromMetadata(swigCPtr, attributeName, StringVector.getCPtr(attributeValue)), true); if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public void addFileClass(string name, string iterator, string parser, string tokenizer, string startDocTag, string endDocTag, string endMetadataTag, StringVector include, StringVector exclude, StringVector index, StringVector metadata, ConfMap conflations) { indri_csharpPINVOKE.IndexEnvironment_addFileClass__SWIG_0(swigCPtr, name, iterator, parser, tokenizer, startDocTag, endDocTag, endMetadataTag, StringVector.getCPtr(include), StringVector.getCPtr(exclude), StringVector.getCPtr(index), StringVector.getCPtr(metadata), ConfMap.getCPtr(conflations)); if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); }
internal static HandleRef getCPtr(StringVector obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public void setIndexedFields(StringVector fieldNames) { indri_csharpPINVOKE.IndexEnvironment_setIndexedFields(swigCPtr, StringVector.getCPtr(fieldNames)); if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); }
public void SetRange(int index, StringVector values) { indri_csharpPINVOKE.StringVector_SetRange(swigCPtr, index, StringVector.getCPtr(values)); if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); }
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; }
public void addFileClass(string name, string iterator, string parser, string tokenizer, string startDocTag, string endDocTag, string endMetadataTag, StringVector include, StringVector exclude, StringVector index, StringVector metadata, ConfMap conflations) { indri_csharpPINVOKE.IndexEnvironment_addFileClass__SWIG_0(swigCPtr, name, iterator, parser, tokenizer, startDocTag, endDocTag, endMetadataTag, StringVector.getCPtr(include), StringVector.getCPtr(exclude), StringVector.getCPtr(index), StringVector.getCPtr(metadata), ConfMap.getCPtr(conflations)); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } }