Closes an index.
SDK
- macOS 10.4+
Framework
- Core Services
Declaration
void SKIndexClose(SKIndex Ref inIndex);
Parameters
inIndex
The index to close.
Discussion
When your application no longer needs an index that it has opened or created, call SKIndex
. Calling this function is equivalent to calling CFRelease
on an index.
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.