<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: -",
    "macOS: 15.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/IndexedEntity/attributeSet",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:10AppIntents13IndexedEntityP12attributeSetSo025CSSearchableItemAttributeF0Cvp"
  },
  "title" : "attributeSet"
}
-->

# attributeSet

A custom attribute set that you include with your entity to improve search accuracy.

```
var attributeSet: CSSearchableItemAttributeSet { get }
```

## Discussion

Use this property to include additional metadata in the index for your app entity. This
property augments the set of declared properties in your entity that have an indexing key.
The default implementation of this property provides an attribute set with the title,
subtitle, and image values from the entity’s display representation.

---

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)