Gets the category of an index.
- macOS 10.3+
- Core Services
The index whose category you want to know.
The category of the index. See the
SKIndex enumeration for a list of the various index categories. On failure, returns a value of
As described in
SKIndex, Search Kit offers four categories of index, each optimized for one or more types of searching.
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.