SKIndexDocumentIteratorCopyNext(_:)
Obtains the next document URL object (of type Skdocument) from an index using a document iterator.
Declaration
func SKIndexDocumentIteratorCopyNext(_ inIterator: SKIndexDocumentIterator!) -> Unmanaged<SKDocument>!Parameters
- inIterator:
The index-based document iterator. See 1446189 Skindexdocumentiteratorcreate for information on creating an document iterator, and Skindexdocumentiterator for more about iterators.
Return Value
The next document URL object in the index.
Discussion
This function returns NULL when there are no more document URL objects (of type SKDocument) in the index. When finished iterating, your application must call CFRelease on all retrieved document URL objects that are non-NULL.
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(_:)SKIndexGetMaximumTermID(_:)SKIndexDocumentIteratorCreate(_:_:)SKIndexDocumentIteratorGetTypeID()SKIndexGetAnalysisProperties(_:)SKIndexMoveDocument(_:_:_:)SKIndexRemoveDocument(_:_:)SKIndexRenameDocument(_:_:_:)SKIndexSetMaximumBytesBeforeFlush(_:_:)SKIndexGetMaximumBytesBeforeFlush(_:)