Contents

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

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