Contents

SKIndexGetIndexType(_:)

Gets the category of an index.

Declaration

func SKIndexGetIndexType(_ inIndex: SKIndex!) -> SKIndexType

Parameters

  • inIndex:

    The index whose category you want to know.

Return Value

The category of the index. See the SKIndexType enumeration for a list of the various index categories. On failure, returns a value of kSKIndexUnknown.

Discussion

As described in SKIndexType, 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.

See Also

Creating, Opening, and Closing Indexes