Opens an existing, named index stored in a file whose location is specified with a CFURL object.
- macOS 10.3+
- Core Services
The location of the index.
The name of the index. Can be
NULL, in which case this function attempts to open the index with the default name of
A Boolean value indicating whether the index is open for updating. To open an index for searching only, pass
k). To open it for searching and updating, pass
The named index, or
NULL on failure.
in does not contain an index with the default name, this function returns
A call to
SKIndex retains the opened index. When your application no longer needs the index, dispose of it by calling
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.
You cannot use