SKIndexClose(_:)
Closes an index.
Declaration
func SKIndexClose(_ inIndex: SKIndex!)Parameters
- inIndex:
The index to close.
Discussion
When your application no longer needs an index that it has opened or created, call SKIndexClose(_:). 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.