Contents

searchableIndex(_:reindexSearchableItemsWithIdentifiers:acknowledgementHandler:)

Reindexes the searchable items for the specified identifiers.

Declaration

func searchableIndex(_ searchableIndex: CSSearchableIndex, reindexSearchableItemsWithIdentifiers identifiers: [String], acknowledgementHandler: @escaping () -> Void)

Parameters

  • searchableIndex:

    The index that contains the items that require reindexing.

  • identifiers:

    An array of strings that identify the searchable items.

  • acknowledgementHandler:

    The handler to call when you finish saving client state information.

Discussion

For more information, see searchableIndex(_:reindexSearchableItemsWithIdentifiers:acknowledgementHandler:).

See Also

Updating the Index