Contents

reindexAllEntities(indexDescription:)

Reindexes all entities in the app index with the specified characteristics.

Declaration

func reindexAllEntities(indexDescription: CSSearchableIndexDescription) async throws

Discussion

  • Parameter:

    • indexDescription: An object that describes the characteristics of the searchable index. Use the information in this type to determine which of your app’s CSSearchableIndex instances to update.

The system calls this method when it needs you to reindex all app entities in one of your app’s searchable indexes. In your implementation of this method, fetch all entities and donate them again to your index.