Contents

SKSearchGroupCopyIndexes

Obtains the indexes for a search group.

Declaration

CFArrayRef SKSearchGroupCopyIndexes(SKSearchGroupRef inSearchGroup);

Parameters

  • inSearchGroup:

    The search group whose indexes you want to copy.

Return Value

A CFArray object containing the indexes in the search group.

Discussion

Although the search functions SKSearchResultsCreateWithQuery and SKSearchResultsCreateWithDocuments operate directly on search groups, many Search Kit functions, such as SKIndexCompact, operate on one index at a time. When you want to examine or manage all the indexes in a search group, use SKSearchGroupCopyIndexes to get the search group’s list of indexes.

See Also

Legacy Support for Synchronous Searching