SKIndexGetTermIDForTermString(_:_:)
Gets the ID for a term in an index.
Declaration
func SKIndexGetTermIDForTermString(_ inIndex: SKIndex!, _ inTermString: CFString!) -> CFIndexParameters
- inIndex:
The index you want to examine.
- inTermString:
The term string whose corresponding ID you want.
Return Value
A CFIndex object containing the term ID for a given term in an index. If the term isn’t found, this function returns a value of kCFNotFound.
See Also
Working with Documents and Terms
SKDocumentCreateWithURL(_:)SKDocumentCreate(_:_:_:)SKDocumentCopyURL(_:)SKDocumentGetName(_:)SKDocumentGetParent(_:)SKDocumentGetSchemeName(_:)SKDocumentGetTypeID()SKIndexCopyDocumentForDocumentID(_:_:)SKIndexCopyInfoForDocumentIDs(_:_:_:_:_:)SKIndexCopyDocumentRefsForDocumentIDs(_:_:_:_:)SKIndexCopyDocumentURLsForDocumentIDs(_:_:_:_:)SKIndexCopyDocumentIDArrayForTermID(_:_:)SKIndexCopyTermIDArrayForDocumentID(_:_:)SKIndexCopyTermStringForTermID(_:_:)SKIndexSetDocumentProperties(_:_:_:)SKIndexCopyDocumentProperties(_:_:)SKIndexGetDocumentState(_:_:)SKIndexGetDocumentTermCount(_:_:)SKIndexGetDocumentTermFrequency(_:_:_:)SKIndexGetTermDocumentCount(_:_:)SKIndexGetDocumentID(_:_:)