<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/IndexedEntityQuery/reindexAllEntities(indexDescription:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:10AppIntents18IndexedEntityQueryP18reindexAllEntities16indexDescriptionySo017CSSearchableIndexJ0C_tYaKF"
  },
  "title" : "reindexAllEntities(indexDescription:)"
}
-->

# reindexAllEntities(indexDescription:)

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

```
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
    <doc://com.apple.documentation/documentation/CoreSpotlight/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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)