SKIndexGetMaximumTermID(_:)
Gets the highest-numbered term ID in an index.
Declaration
func SKIndexGetMaximumTermID(_ inIndex: SKIndex!) -> CFIndexParameters
- inIndex:
An index.
Return Value
A CFIndex object containing the highest-numbered term ID in an index.
Discussion
A new Search Kit index does not have term IDs until it is flushed.
Search Kit is thread-safe. You can use separate indexing and searching threads. Your application is responsible for ensuring that no more than one process is open at a time for writing to an index.
See Also
Managing Indexes
SKIndexAddDocumentWithText(_:_:_:_:)SKIndexAddDocument(_:_:_:_:)SKIndexFlush(_:)SKIndexCompact(_:)SKIndexGetDocumentCount(_:)SKIndexGetMaximumDocumentID(_:)SKIndexDocumentIteratorCreate(_:_:)SKIndexDocumentIteratorCopyNext(_:)SKIndexDocumentIteratorGetTypeID()SKIndexGetAnalysisProperties(_:)SKIndexMoveDocument(_:_:_:)SKIndexRemoveDocument(_:_:)SKIndexRenameDocument(_:_:_:)SKIndexSetMaximumBytesBeforeFlush(_:_:)SKIndexGetMaximumBytesBeforeFlush(_:)